diff options
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r-- | src/empathy-call-window.c | 9 |
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 |