]> git.0d.be Git - empathy.git/commitdiff
g_object_unref after g_object_get (Alban Crequy)
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 13 Jun 2008 11:13:51 +0000 (11:13 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 13 Jun 2008 11:13:51 +0000 (11:13 +0000)
svn path=/trunk/; revision=1163

src/empathy-call-window.c

index 8a33e4639a94b2c7c88d1aa53e1b112856d4cfe6..7c451dad4bcad3d326244b2bc4751b2229999361 100644 (file)
@@ -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);