summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2018-03-24 19:30:55 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2018-03-29 17:43:58 +0000
commita7e8b5ac787c221bbcc0866ee312db7afa2a0848 (patch)
tree455490733a3b74ba8de3f139eea37c612e7d3ad2
parentb6d3602a35d9215f05d41b20ad1c6efdd896ecb7 (diff)
downloadgtk+-a7e8b5ac787c221bbcc0866ee312db7afa2a0848.tar.gz
GDK W32: Don't use gdk_threads_add_timeout_full()
https://bugzilla.gnome.org/show_bug.cgi?id=773299
-rw-r--r--gdk/win32/gdkdrag-win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/win32/gdkdrag-win32.c b/gdk/win32/gdkdrag-win32.c
index 887b132a5b..0d4c40aaa3 100644
--- a/gdk/win32/gdkdrag-win32.c
+++ b/gdk/win32/gdkdrag-win32.c
@@ -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");
}