]> git.0d.be Git - empathy.git/commitdiff
use tp_clear_object to unref the cancellable
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 20 Sep 2010 08:09:51 +0000 (10:09 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 20 Sep 2010 08:09:51 +0000 (10:09 +0200)
libempathy-gtk/empathy-contact-widget.c

index 4ee188cdd9cd078bf11d84adb84c767d1c2bd953..4b21f374fa979d83b9480e391910ca1cf696ef0e 100644 (file)
@@ -465,8 +465,7 @@ contact_widget_details_request_cb (GObject *object,
           G_CALLBACK (contact_widget_details_notify_cb), information);
     }
 
           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
 }
 
 static void