aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy.c')
-rw-r--r--src/empathy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy.c b/src/empathy.c
index 0c1197a17..46b2fdb60 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -555,7 +555,9 @@ main (int argc, char *argv[])
g_signal_connect (G_OBJECT (call_factory), "new-call-handler",
G_CALLBACK (new_call_handler_cb), NULL);
+ gdk_threads_enter ();
gtk_main ();
+ gdk_threads_leave ();
empathy_idle_set_state (idle, MC_PRESENCE_OFFLINE);