aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-debug-dialog.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-20 22:44:31 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-24 08:52:48 +0800
commitf408815ea2363da687f13bc93d3149ae982169c3 (patch)
treecda2b956468f01cbc4428359018717188e6e88b9 /src/empathy-debug-dialog.c
parent4db501d37a674c4ec696a6d0fbe30272f0e5acd6 (diff)
downloadgsoc2013-empathy-f408815ea2363da687f13bc93d3149ae982169c3.tar
gsoc2013-empathy-f408815ea2363da687f13bc93d3149ae982169c3.tar.gz
gsoc2013-empathy-f408815ea2363da687f13bc93d3149ae982169c3.tar.bz2
gsoc2013-empathy-f408815ea2363da687f13bc93d3149ae982169c3.tar.lz
gsoc2013-empathy-f408815ea2363da687f13bc93d3149ae982169c3.tar.xz
gsoc2013-empathy-f408815ea2363da687f13bc93d3149ae982169c3.tar.zst
gsoc2013-empathy-f408815ea2363da687f13bc93d3149ae982169c3.zip
Only set Enabled=false in dispose if there we have a proxy.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/empathy-debug-dialog.c')
-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);