diff options
author | Travis Reitter <treitter@gmail.com> | 2010-07-08 11:16:46 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:36 +0800 |
commit | cb703ba93de027d1b62b1a9716ca7d9c0d90133b (patch) | |
tree | a7c99918b291ae9abc500d0c5928641d8cc84423 /libempathy/empathy-individual-manager.c | |
parent | df6ea1a0a3bdef9fc134bfaaa02ca3614398ca16 (diff) | |
download | gsoc2013-empathy-cb703ba93de027d1b62b1a9716ca7d9c0d90133b.tar gsoc2013-empathy-cb703ba93de027d1b62b1a9716ca7d9c0d90133b.tar.gz gsoc2013-empathy-cb703ba93de027d1b62b1a9716ca7d9c0d90133b.tar.bz2 gsoc2013-empathy-cb703ba93de027d1b62b1a9716ca7d9c0d90133b.tar.lz gsoc2013-empathy-cb703ba93de027d1b62b1a9716ca7d9c0d90133b.tar.xz gsoc2013-empathy-cb703ba93de027d1b62b1a9716ca7d9c0d90133b.tar.zst gsoc2013-empathy-cb703ba93de027d1b62b1a9716ca7d9c0d90133b.zip |
Take advantage of the tp_clear_* utility functions.
Diffstat (limited to 'libempathy/empathy-individual-manager.c')
-rw-r--r-- | libempathy/empathy-individual-manager.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libempathy/empathy-individual-manager.c b/libempathy/empathy-individual-manager.c index 183996a3d..a86ec0147 100644 --- a/libempathy/empathy-individual-manager.c +++ b/libempathy/empathy-individual-manager.c @@ -121,11 +121,8 @@ individual_manager_finalize (GObject *object) { EmpathyIndividualManagerPriv *priv = GET_PRIV (object); - if (priv->contact_manager != NULL) - g_object_unref (priv->contact_manager); - - if (priv->aggregator != NULL) - g_object_unref (priv->aggregator); + tp_clear_object (&priv->contact_manager); + tp_clear_object (&priv->aggregator); } static GObject * |