aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-individual-widget.c')
-rw-r--r--libempathy-gtk/empathy-individual-widget.c3
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);
}