From 7803366218ee4b09782394985ffc0d31cb1b8a78 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 1 Feb 2011 17:33:27 +0100 Subject: individual-widget: use priv->contact as that's our pointer on the TpContact now --- libempathy-gtk/empathy-individual-widget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libempathy-gtk') 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); } -- cgit v1.2.3