summaryrefslogtreecommitdiff
path: root/src/canberra-gtk-module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/canberra-gtk-module.c')
-rw-r--r--src/canberra-gtk-module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canberra-gtk-module.c b/src/canberra-gtk-module.c
index 14f12da..08ef934 100644
--- a/src/canberra-gtk-module.c
+++ b/src/canberra-gtk-module.c
@@ -695,7 +695,7 @@ static gboolean emission_hook_cb(GSignalInvocationHint *hint, guint n_param_valu
g_queue_push_tail(&sound_event_queue, d);
if (idle_id == 0)
- idle_id = g_idle_add_full(GDK_PRIORITY_REDRAW-1, (GSourceFunc) idle_cb, NULL, NULL);
+ idle_id = gdk_threads_add_idle_full(GDK_PRIORITY_REDRAW-1, (GSourceFunc) idle_cb, NULL, NULL);
return TRUE;
}