[empathy: 15/53] Only set Enabled=false in dispose if there we have a proxy.
- From: Jonny Lamb <jonnylamb src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 15/53] Only set Enabled=false in dispose if there we have a proxy.
- Date: Thu, 4 Jun 2009 12:16:18 -0400 (EDT)
commit f408815ea2363da687f13bc93d3149ae982169c3
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Mon Apr 20 15:44:31 2009 +0100
Only set Enabled=false in dispose if there we have a proxy.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
---
src/empathy-debug-dialog.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index 6ca1f1e..802816e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]