mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Ref window before returning.
Ref window before returning.
This commit is contained in:
parent
3e4c24c96e
commit
cbfcca98b0
@ -207,6 +207,8 @@ gdk_drag_find_window (GdkDragContext *context,
|
||||
g_return_if_fail (context != NULL);
|
||||
|
||||
*dest_window = gdk_window_get_pointer(NULL, &x_root, &y_root, NULL);
|
||||
if(*dest_window)
|
||||
gdk_window_ref(*dest_window);
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user