Always set protocol. (#342003, Tommi Komulainen)

2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
	Always set protocol.  (#342003, Tommi Komulainen)
This commit is contained in:
Matthias Clasen 2006-05-18 18:13:27 +00:00 committed by Matthias Clasen
parent 0e1bc0d411
commit 0b98adf31a
3 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2006-05-18 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
Always set protocol. (#342003, Tommi Komulainen)
* gtk/gtkimage.c (icon_theme_changed): Only unref the pixbuf
if the image has the appropriate storage type. (#342096, Tommi
Komulainen)

View File

@ -1,5 +1,8 @@
2006-05-18 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
Always set protocol. (#342003, Tommi Komulainen)
* gtk/gtkimage.c (icon_theme_changed): Only unref the pixbuf
if the image has the appropriate storage type. (#342096, Tommi
Komulainen)

View File

@ -3012,11 +3012,8 @@ _gdk_drag_get_protocol_for_display (GdkDisplay *display,
GDK_NOTE (DND, g_message ("Entering root window\n"));
return xid;
}
return None;
}
if ((retval = xdnd_check_dest (display, xid, version)))
else if ((retval = xdnd_check_dest (display, xid, version)))
{
*protocol = GDK_DRAG_PROTO_XDND;
xdnd_precache_atoms (display);