GDK W32: Don't use gdk_threads_add_timeout_full()
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sat, 24 Mar 2018 19:30:55 +0000 (19:30 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 29 Mar 2018 17:43:58 +0000 (17:43 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=773299

gdk/win32/gdkdrag-win32.c

index 887b132a5b7ba2c4646ec40d9a46b48d448d3308..0d4c40aaa36f78bd2495d42b2ac667259206da7d 100644 (file)
@@ -2434,9 +2434,9 @@ gdk_win32_drag_context_drop_done (GdkDragContext *context,
                           win32_context->util_data.last_x, win32_context->util_data.last_y,
                           win32_context->start_x, win32_context->start_y));
 
-  id = gdk_threads_add_timeout_full (G_PRIORITY_DEFAULT, 17,
-                                     gdk_drag_anim_timeout, anim,
-                                     (GDestroyNotify) gdk_drag_anim_destroy);
+  id = g_timeout_add_full (G_PRIORITY_DEFAULT, 17,
+                           gdk_drag_anim_timeout, anim,
+                           (GDestroyNotify) gdk_drag_anim_destroy);
   g_source_set_name_by_id (id, "[gtk+] gdk_drag_anim_timeout");
 }