aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-invite-participant-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index 4a6694690..18a016c1d 100644
--- a/src/empathy-invite-participant-dialog.c
+++ b/src/empathy-invite-participant-dialog.c
@@ -118,7 +118,7 @@ view_selection_changed_cb (GtkWidget *treeview,
gtk_widget_set_sensitive (self->priv->invite_button, individual != NULL);
- g_object_unref (individual);
+ tp_clear_object (&individual);
}
/* Return the TpContact of @individual which is on the same connection as the