aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-20 16:09:51 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-20 16:09:51 +0800
commit2ebd2e1cd78a2bb2d45f7cff51cbb590b07b366f (patch)
tree4f3472b6a4741438db2cf1d8117a976407dfed58 /libempathy-gtk/empathy-contact-widget.c
parent0bd6e071d8c644615300dab25aeb7fc39ebcc251 (diff)
downloadgsoc2013-empathy-2ebd2e1cd78a2bb2d45f7cff51cbb590b07b366f.tar
gsoc2013-empathy-2ebd2e1cd78a2bb2d45f7cff51cbb590b07b366f.tar.gz
gsoc2013-empathy-2ebd2e1cd78a2bb2d45f7cff51cbb590b07b366f.tar.bz2
gsoc2013-empathy-2ebd2e1cd78a2bb2d45f7cff51cbb590b07b366f.tar.lz
gsoc2013-empathy-2ebd2e1cd78a2bb2d45f7cff51cbb590b07b366f.tar.xz
gsoc2013-empathy-2ebd2e1cd78a2bb2d45f7cff51cbb590b07b366f.tar.zst
gsoc2013-empathy-2ebd2e1cd78a2bb2d45f7cff51cbb590b07b366f.zip
use tp_clear_object to unref the cancellable
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 4ee188cdd..4b21f374f 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -465,8 +465,7 @@ contact_widget_details_request_cb (GObject *object,
G_CALLBACK (contact_widget_details_notify_cb), information);
}
- g_object_unref (information->details_cancellable);
- information->details_cancellable = NULL;
+ tp_clear_object (&information->details_cancellable);
}
static void