]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-contact-widget.c
Merge remote branch 'pwith/folks-integ-rebase1-fixes-rebase1' into folks-fixes
[empathy.git] / libempathy-gtk / empathy-contact-widget.c
index 92f6c4b58c156243db3b39bb2b7f276d1dca4ae1..9bdad553428f90a962237d731eafe41a0ddac8a5 100644 (file)
@@ -1460,9 +1460,9 @@ contact_widget_remove_contact (EmpathyContactWidget *information)
 
   if (information->details_cancellable != NULL)
     {
+      /* The cancellable will be unreffed and cleared in
+       * contact_widget_details_request_cb */
       g_cancellable_cancel (information->details_cancellable);
-      g_object_unref (information->details_cancellable);
-      information->details_cancellable = NULL;
     }
 }