diff options
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index 3f8d1dd11..360d37e33 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -143,9 +143,6 @@ individual_view_is_visible_individual (EmpathyIndividualView *self, EmpathyIndividualViewPriv *priv = GET_PRIV (self); EmpathyLiveSearch *live = EMPATHY_LIVE_SEARCH (priv->search_widget); const gchar *str; - const gchar *p; - gchar *dup_str = NULL; - gboolean visible; GList *personas, *l; g_assert (live != NULL); @@ -159,6 +156,10 @@ individual_view_is_visible_individual (EmpathyIndividualView *self, personas = folks_individual_get_personas (individual); for (l = personas; l; l = l->next) { + const gchar *p; + gchar *dup_str = NULL; + gboolean visible; + str = folks_persona_get_uid (l->data); p = strstr (str, "@"); if (p != NULL) |