image: Don't add border twice
authorBenjamin Otte <otte@redhat.com>
Fri, 15 Jun 2012 01:30:52 +0000 (03:30 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 15 Jun 2012 01:30:52 +0000 (03:30 +0200)
Failed to delete these lines in d40c496e6eacb9f95c2b27eaebf58d320c2b9387

gtk/gtkimage.c

index e32b1b70ea4e434bce74d7566fba680d37bb34a5..988605a2d40edbc7cd15c66919684a8987878c9b 100644 (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);