aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-debug-dialog.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index 6ca1f1e89..802816e05 100644
--- a/src/empathy-debug-dialog.c
+++ b/src/empathy-debug-dialog.c
@@ -548,10 +548,11 @@ debug_dialog_dispose (GObject *object)
if (priv->store)
g_object_unref (priv->store);
- debug_dialog_set_enabled (EMPATHY_DEBUG_DIALOG (object), FALSE);
-
if (priv->proxy)
- g_object_unref (priv->proxy);
+ {
+ debug_dialog_set_enabled (EMPATHY_DEBUG_DIALOG (object), FALSE);
+ g_object_unref (priv->proxy);
+ }
if (priv->signal_connection)
tp_proxy_signal_connection_disconnect (priv->signal_connection);