Ref window before returning.

Ref window before returning.
This commit is contained in:
Elliot Lee 2000-08-09 21:53:50 +00:00
parent 3e4c24c96e
commit cbfcca98b0

View File

@ -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