Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2550
g_object_get (priv->handler, "tp-call", &call, NULL);
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);
if (empathy_tp_call_has_dtmf (call))
gtk_widget_set_sensitive (priv->dtmf_panel, TRUE);
empathy_call_window_status_message (self, str);
g_free (str);
empathy_call_window_status_message (self, str);
g_free (str);
+ gdk_threads_leave ();
+
switch (media_type)
{
case TP_MEDIA_STREAM_TYPE_AUDIO:
switch (media_type)
{
case TP_MEDIA_STREAM_TYPE_AUDIO:
g_signal_connect (G_OBJECT (call_factory), "new-call-handler",
G_CALLBACK (new_call_handler_cb), NULL);
g_signal_connect (G_OBJECT (call_factory), "new-call-handler",
G_CALLBACK (new_call_handler_cb), NULL);
empathy_idle_set_state (idle, MC_PRESENCE_OFFLINE);
empathy_idle_set_state (idle, MC_PRESENCE_OFFLINE);