From 49c618c59cb9ac1d1dcb95dd196875f1925a1fef Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 15 Jun 2012 03:30:52 +0200 Subject: [PATCH] image: Don't add border twice Failed to delete these lines in d40c496e6eacb9f95c2b27eaebf58d320c2b9387 --- gtk/gtkimage.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index e32b1b70e..988605a2d 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -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); -- 2.43.2