aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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