[gnome-builder/wip/gtk4-port: 33/67] vcs: use g_idle_add_full()




commit 60f7e14a61cb2bff4ab9c8ae8ca587fe8e70778e
Author: Christian Hergert <chergert redhat com>
Date:   Thu Sep 23 16:46:12 2021 -0700

    vcs: use g_idle_add_full()

 src/libide/vcs/ide-vcs-cloner.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/vcs/ide-vcs-cloner.c b/src/libide/vcs/ide-vcs-cloner.c
index 4253c6764..bcd590236 100644
--- a/src/libide/vcs/ide-vcs-cloner.c
+++ b/src/libide/vcs/ide-vcs-cloner.c
@@ -294,9 +294,9 @@ ide_vcs_cloner_clone_simple (IdeContext       *context,
 
   g_mutex_lock (&state.mutex);
 
-  gdk_threads_add_idle_full (G_PRIORITY_HIGH,
-                             (GSourceFunc) ide_vcs_cloner_clone_simple_idle_cb,
-                             &state, NULL);
+  g_idle_add_full (G_PRIORITY_HIGH,
+                   (GSourceFunc) ide_vcs_cloner_clone_simple_idle_cb,
+                   &state, NULL);
 
   g_cond_wait (&state.cond, &state.mutex);
   g_mutex_unlock (&state.mutex);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]