diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-06-02 18:11:34 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-06-02 18:58:26 +0100 |
commit | af91f9fc72f430fee817c16b3ad7919cb261ebe5 (patch) | |
tree | b03e5578f7331cc5c364ed67bc4d9e62e4c57fb6 /telepathy-glib/contact-list-channel.c | |
parent | aa1867f5af447a659df995530bf91693ba61f70e (diff) | |
download | telepathy-glib-af91f9fc72f430fee817c16b3ad7919cb261ebe5.tar.gz |
TpBaseContactList: use tp_clear_object, etc.
Diffstat (limited to 'telepathy-glib/contact-list-channel.c')
-rw-r--r-- | telepathy-glib/contact-list-channel.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/telepathy-glib/contact-list-channel.c b/telepathy-glib/contact-list-channel.c index 59fa99378..954429ede 100644 --- a/telepathy-glib/contact-list-channel.c +++ b/telepathy-glib/contact-list-channel.c @@ -322,11 +322,8 @@ _tp_base_contact_list_channel_close (TpBaseContactListChannel *self) tp_handle_unref (handle_repo, self->handle); tp_group_mixin_finalize ((GObject *) self); - g_object_unref (self->manager); - self->manager = NULL; - - g_object_unref (self->conn); - self->conn = NULL; + tp_clear_object (&self->manager); + tp_clear_object (&self->conn); } static void |