image: Don't add border twice

Failed to delete these lines in d40c496e6e
This commit is contained in:
Benjamin Otte
2012-06-15 03:30:52 +02:00
parent 644d16a5f7
commit 49c618c59c

View File

@ -1401,9 +1401,6 @@ gtk_image_draw (GtkWidget *widget,
x = floor ((gtk_widget_get_allocated_width (widget) - width) * xalign) + border.left;
y = floor ((gtk_widget_get_allocated_height (widget) - height) * yalign) + border.top;
x += border.left;
y += border.top;
if (gtk_image_get_storage_type (image) == GTK_IMAGE_ANIMATION)
{
GdkPixbuf *pixbuf = get_animation_frame (image);