aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-31 21:34:36 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-31 21:36:45 +0800
commit81c5f8b415c5835f200ea9d7d3d917481b6fd506 (patch)
tree787692afbd5d1c7bfb3240555be0f1ca7a8cf932 /src
parent5dc3feb4979804c710d4e872a1f05bc425fd9410 (diff)
downloadgsoc2013-empathy-81c5f8b415c5835f200ea9d7d3d917481b6fd506.tar
gsoc2013-empathy-81c5f8b415c5835f200ea9d7d3d917481b6fd506.tar.gz
gsoc2013-empathy-81c5f8b415c5835f200ea9d7d3d917481b6fd506.tar.bz2
gsoc2013-empathy-81c5f8b415c5835f200ea9d7d3d917481b6fd506.tar.lz
gsoc2013-empathy-81c5f8b415c5835f200ea9d7d3d917481b6fd506.tar.xz
gsoc2013-empathy-81c5f8b415c5835f200ea9d7d3d917481b6fd506.tar.zst
gsoc2013-empathy-81c5f8b415c5835f200ea9d7d3d917481b6fd506.zip
view_selection_changed_cb: don't unref NULL individual
Diffstat (limited to 'src')
-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