aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-07-28 20:00:07 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-03 23:02:30 +0800
commit8499ac3767f88cd923551dde06b279337771db04 (patch)
treeba2d0b0a460d3f9a14d0e37cb39858f889dd0dfa /src
parenta266ab626d10a421e852043443e3bb37adedba2f (diff)
downloadgsoc2013-empathy-8499ac3767f88cd923551dde06b279337771db04.tar
gsoc2013-empathy-8499ac3767f88cd923551dde06b279337771db04.tar.gz
gsoc2013-empathy-8499ac3767f88cd923551dde06b279337771db04.tar.bz2
gsoc2013-empathy-8499ac3767f88cd923551dde06b279337771db04.tar.lz
gsoc2013-empathy-8499ac3767f88cd923551dde06b279337771db04.tar.xz
gsoc2013-empathy-8499ac3767f88cd923551dde06b279337771db04.tar.zst
gsoc2013-empathy-8499ac3767f88cd923551dde06b279337771db04.zip
CallWindow: don't close the window when hanging up
As one may want to redial.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index ffad1f1c6..f39c0f8d4 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2836,14 +2836,11 @@ empathy_call_window_mic_toggled_cb (GtkToggleToolButton *toggle,
static void
empathy_call_window_hangup_cb (gpointer object,
- EmpathyCallWindow *window)
+ EmpathyCallWindow *self)
{
- EmpathyCallWindowPriv *priv = GET_PRIV (window);
-
- empathy_call_handler_stop_call (priv->handler);
+ empathy_call_handler_stop_call (self->priv->handler);
- if (empathy_call_window_disconnected (window, FALSE))
- gtk_widget_destroy (GTK_WIDGET (window));
+ empathy_call_window_disconnected (self, TRUE);
}
static void