diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-02 00:33:27 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-02 00:33:27 +0800 |
commit | 7803366218ee4b09782394985ffc0d31cb1b8a78 (patch) | |
tree | 80582aa40a35248fa0d3e4b8675fb86e9a7cfb73 /libempathy-gtk/empathy-individual-widget.c | |
parent | 91386d401d9385cf334cf4d879f97d7e49540bb1 (diff) | |
download | gsoc2013-empathy-7803366218ee4b09782394985ffc0d31cb1b8a78.tar gsoc2013-empathy-7803366218ee4b09782394985ffc0d31cb1b8a78.tar.gz gsoc2013-empathy-7803366218ee4b09782394985ffc0d31cb1b8a78.tar.bz2 gsoc2013-empathy-7803366218ee4b09782394985ffc0d31cb1b8a78.tar.lz gsoc2013-empathy-7803366218ee4b09782394985ffc0d31cb1b8a78.tar.xz gsoc2013-empathy-7803366218ee4b09782394985ffc0d31cb1b8a78.tar.zst gsoc2013-empathy-7803366218ee4b09782394985ffc0d31cb1b8a78.zip |
individual-widget: use priv->contact as that's our pointer on the TpContact now
Diffstat (limited to 'libempathy-gtk/empathy-individual-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-widget.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c index 6cb6226a5..4c08d122c 100644 --- a/libempathy-gtk/empathy-individual-widget.c +++ b/libempathy-gtk/empathy-individual-widget.c @@ -433,7 +433,6 @@ static void details_update (EmpathyIndividualWidget *self) { EmpathyIndividualWidgetPriv *priv = GET_PRIV (self); - TpContact *tp_contact = NULL; if (!(priv->flags & EMPATHY_INDIVIDUAL_WIDGET_SHOW_DETAILS)) return; @@ -455,7 +454,7 @@ details_update (EmpathyIndividualWidget *self) data->contact = g_object_ref (priv->contact); /* First, make sure the CONTACT_INFO feature is ready on the connection */ - connection = tp_contact_get_connection (tp_contact); + connection = tp_contact_get_connection (priv->contact); tp_proxy_prepare_async (connection, features, (GAsyncReadyCallback) details_feature_prepared_cb, data); } |