summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-08-01 17:02:49 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-08-01 17:02:49 +0000
commit9cffa701489ed82f87aa37ba072b1faa12fbc8e6 (patch)
tree2d61696ecaf4937d85dbbff558aa63368fea6bef /gtk/gtkdnd.c
parent888ef22258d973e507a58b8df231b187d78780e6 (diff)
downloadgtk+-9cffa701489ed82f87aa37ba072b1faa12fbc8e6.tar.gz
Create the icon window with the correct dimensions. (#312256, Mike
2005-08-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdnd.c (set_icon_stock_pixbuf): Create the icon window with the correct dimensions. (#312256, Mike Morrison)
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index ee0b8095b6..beaa498929 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -2865,7 +2865,7 @@ set_icon_stock_pixbuf (GdkDragContext *context,
display = gdk_drawable_get_display (context->source_window);
width = gdk_pixbuf_get_width (pixbuf);
- height = gdk_pixbuf_get_width (pixbuf);
+ height = gdk_pixbuf_get_height (pixbuf);
if (!force_window &&
gtk_drag_can_use_rgba_cursor (display, width + 2, height + 2))