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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 8a33e4639..7c451dad4 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -517,6 +517,9 @@ empathy_call_window_new (TpChannel *channel)
dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_INFO,
GTK_BUTTONS_CLOSE,
_("Incoming call from %s rejected because there is already a running call."), empathy_contact_get_name (contact));
+
+ g_object_unref (window->call);
+
g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_destroy),
NULL);
gtk_widget_show (dialog);