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)
This commit is contained in:
Matthias Clasen 2005-08-01 17:02:49 +00:00 committed by Matthias Clasen
parent 888ef22258
commit 9cffa70148
4 changed files with 10 additions and 1 deletions

View 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.

View 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.

View 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.

View 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))