aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-06-13 19:13:51 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-06-13 19:13:51 +0800
commita7e13516398879564f982f5909ebe880799d0f4d (patch)
tree037fe028388e6f11b883c9baadfaa76f78aef2b6 /src/empathy-call-window.c
parent8de05ae8857fcee08bb2d7e7cbaccb9ae1585d3e (diff)
downloadgsoc2013-empathy-a7e13516398879564f982f5909ebe880799d0f4d.tar
gsoc2013-empathy-a7e13516398879564f982f5909ebe880799d0f4d.tar.gz
gsoc2013-empathy-a7e13516398879564f982f5909ebe880799d0f4d.tar.bz2
gsoc2013-empathy-a7e13516398879564f982f5909ebe880799d0f4d.tar.lz
gsoc2013-empathy-a7e13516398879564f982f5909ebe880799d0f4d.tar.xz
gsoc2013-empathy-a7e13516398879564f982f5909ebe880799d0f4d.tar.zst
gsoc2013-empathy-a7e13516398879564f982f5909ebe880799d0f4d.zip
g_object_unref after g_object_get (Alban Crequy)
svn path=/trunk/; revision=1163
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);