summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
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))