[empathy: 1/3] use tp_clear_object to unref the cancellable
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 1/3] use tp_clear_object to unref the cancellable
- Date: Mon, 20 Sep 2010 09:35:49 +0000 (UTC)
commit 2ebd2e1cd78a2bb2d45f7cff51cbb590b07b366f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Sep 20 10:09:51 2010 +0200
use tp_clear_object to unref the cancellable
libempathy-gtk/empathy-contact-widget.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 4ee188c..4b21f37 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]