aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-07-25 23:02:20 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-07-30 06:13:20 +0800
commit604cd696cf2af3995a3bba6317b3684255a08fc2 (patch)
tree8a455b62abe1f9101c4a284e32564455bd22dbe7
parent8159c9cf091d3474702df58b04dcd11783109ab7 (diff)
downloadgsoc2013-empathy-604cd696cf2af3995a3bba6317b3684255a08fc2.tar
gsoc2013-empathy-604cd696cf2af3995a3bba6317b3684255a08fc2.tar.gz
gsoc2013-empathy-604cd696cf2af3995a3bba6317b3684255a08fc2.tar.bz2
gsoc2013-empathy-604cd696cf2af3995a3bba6317b3684255a08fc2.tar.lz
gsoc2013-empathy-604cd696cf2af3995a3bba6317b3684255a08fc2.tar.xz
gsoc2013-empathy-604cd696cf2af3995a3bba6317b3684255a08fc2.tar.zst
gsoc2013-empathy-604cd696cf2af3995a3bba6317b3684255a08fc2.zip
Fix a typo in dispose()
-rw-r--r--libempathy/empathy-account-manager.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c
index 2d6977d3c..71cf34fb9 100644
--- a/libempathy/empathy-account-manager.c
+++ b/libempathy/empathy-account-manager.c
@@ -493,9 +493,11 @@ do_dispose (GObject *obj)
tp_dbus_daemon_cancel_name_owner_watch (priv->dbus,
TP_ACCOUNT_MANAGER_BUS_NAME, account_manager_name_owner_cb, manager);
- if (priv->dbus == NULL)
- g_object_unref (priv->dbus);
- priv->dbus = NULL;
+ if (priv->dbus != NULL)
+ {
+ g_object_unref (priv->dbus);
+ priv->dbus = NULL;
+ }
G_OBJECT_CLASS (empathy_account_manager_parent_class)->dispose (obj);
}