From 81c5f8b415c5835f200ea9d7d3d917481b6fd506 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 31 May 2011 15:34:36 +0200 Subject: view_selection_changed_cb: don't unref NULL individual --- src/empathy-invite-participant-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3