aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 333b1257c..a565be90a 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -564,6 +564,8 @@ empathy_call_window_src_added_cb (EmpathyCallHandler *handler,
g_object_get (priv->handler, "tp-call", &call, NULL);
+ gdk_threads_enter ();
+
if (empathy_tp_call_has_dtmf (call))
gtk_widget_set_sensitive (priv->dtmf_panel, TRUE);
@@ -574,6 +576,8 @@ empathy_call_window_src_added_cb (EmpathyCallHandler *handler,
empathy_call_window_status_message (self, str);
g_free (str);
+ gdk_threads_leave ();
+
switch (media_type)
{
case TP_MEDIA_STREAM_TYPE_AUDIO: