]> Pileus Git - ~andy/gtk/commitdiff
Create the icon window with the correct dimensions. (#312256, Mike
authorMatthias Clasen <mclasen@redhat.com>
Mon, 1 Aug 2005 17:02:49 +0000 (17:02 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 1 Aug 2005 17:02:49 +0000 (17:02 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkdnd.c

index 33311613037bae0fa22d1f8db3ac279634c29491..bd5d234f5bf16dde9db31ed92d8856f99504b106 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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)
+
        * gtk/gtktextbuffer.h: 
        * gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED here
        as well.
index 33311613037bae0fa22d1f8db3ac279634c29491..bd5d234f5bf16dde9db31ed92d8856f99504b106 100644 (file)
@@ -1,5 +1,8 @@
 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)
+
        * gtk/gtktextbuffer.h: 
        * gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED here
        as well.
index 33311613037bae0fa22d1f8db3ac279634c29491..bd5d234f5bf16dde9db31ed92d8856f99504b106 100644 (file)
@@ -1,5 +1,8 @@
 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)
+
        * gtk/gtktextbuffer.h: 
        * gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED here
        as well.
index ee0b8095b6be75a522c3cd7811617a49f838e5f9..beaa498929f29a6ea90c6cc7a83cea3cec6202f5 100644 (file)
@@ -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))