aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,