mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
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:
parent
0e1bc0d411
commit
0b98adf31a
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user