summaryrefslogtreecommitdiff
path: root/gtk/gtkimage.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2000-11-01 16:24:21 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-11-01 16:24:21 +0000
commit15767742768d7d4a294cfba12dc9cad5cd302e36 (patch)
treee4d75c1f3ebb617d3fd286b9ef8a49cee2c33495 /gtk/gtkimage.c
parentb90d773c2899c3503c1f2ca1d6383f9a44f36c0d (diff)
downloadgtk+-15767742768d7d4a294cfba12dc9cad5cd302e36.tar.gz
Um, don't randomly subtract 4 from coordinates.
2000-11-01 Havoc Pennington <hp@redhat.com> * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4 from coordinates.
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r--gtk/gtkimage.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 8ac1d34ef9..294eab906f 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -586,7 +586,8 @@ gtk_image_expose (GtkWidget *widget,
image_bound.y - y,
image_bound.x,
image_bound.y,
- image_bound.width, image_bound.height,
+ image_bound.width,
+ image_bound.height,
GDK_PIXBUF_ALPHA_FULL,
128,
GDK_RGB_DITHER_NORMAL,
@@ -601,9 +602,10 @@ gtk_image_expose (GtkWidget *widget,
widget->window,
image_bound.x - x,
image_bound.y - y,
- image_bound.x - 4,
- image_bound.y - 4,
- image_bound.width, image_bound.height,
+ image_bound.x,
+ image_bound.y,
+ image_bound.width,
+ image_bound.height,
GDK_PIXBUF_ALPHA_FULL,
128,
GDK_RGB_DITHER_NORMAL,