projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644d16a
)
image: Don't add border twice
author
Benjamin Otte
<otte@redhat.com>
Fri, 15 Jun 2012 01:30:52 +0000
(
03:30
+0200)
committer
Benjamin 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
patch
|
blob
|
history
diff --git
a/gtk/gtkimage.c
b/gtk/gtkimage.c
index e32b1b70ea4e434bce74d7566fba680d37bb34a5..988605a2d40edbc7cd15c66919684a8987878c9b 100644
(file)
--- 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);