aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-09 20:15:11 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-09 20:15:11 +0800
commit881aadbd2abd16a1cc3d64b267cd06b08b629a2d (patch)
tree93a61a056f1528c07a4fb9b09b4c8072639c22a7
parentbb85e99d99f0d77e19a71dab874f1cd6243a817e (diff)
downloadgsoc2013-empathy-881aadbd2abd16a1cc3d64b267cd06b08b629a2d.tar
gsoc2013-empathy-881aadbd2abd16a1cc3d64b267cd06b08b629a2d.tar.gz
gsoc2013-empathy-881aadbd2abd16a1cc3d64b267cd06b08b629a2d.tar.bz2
gsoc2013-empathy-881aadbd2abd16a1cc3d64b267cd06b08b629a2d.tar.lz
gsoc2013-empathy-881aadbd2abd16a1cc3d64b267cd06b08b629a2d.tar.xz
gsoc2013-empathy-881aadbd2abd16a1cc3d64b267cd06b08b629a2d.tar.zst
gsoc2013-empathy-881aadbd2abd16a1cc3d64b267cd06b08b629a2d.zip
Ask confirmation to close call only if it was accepted. Fixes bug #526927 (Frederic Peters).
svn path=/trunk/; revision=879
-rw-r--r--src/empathy-call-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index cf9bfc859..8e31294c5 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -179,7 +179,7 @@ call_window_delete_event_cb (GtkWidget *widget,
g_object_get (G_OBJECT (window->call), "status", &status, NULL);
- if (status != EMPATHY_TP_CALL_STATUS_CLOSED)
+ if (status == EMPATHY_TP_CALL_STATUS_ACCEPTED)
{
dialog = gtk_message_dialog_new (GTK_WINDOW (window->window),
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,