aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-contact-selector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-selector.c b/libempathy-gtk/empathy-contact-selector.c
index 467feb44a..dd7da1d8d 100644
--- a/libempathy-gtk/empathy-contact-selector.c
+++ b/libempathy-gtk/empathy-contact-selector.c
@@ -131,12 +131,13 @@ static void
contact_selector_manage_sensitivity (EmpathyContactSelector *selector)
{
EmpathyContactSelectorPriv *priv = GET_PRIV (selector);
+ guint number_online_contacts;
/* FIXME - make this work when offline contacts are shown.
* The following value needs to be the number of entries shown
* excluding the blank entry (if present).
*/
- guint number_online_contacts = contact_selector_get_number_online_contacts (
+ number_online_contacts = contact_selector_get_number_online_contacts (
GTK_TREE_STORE (priv->store));
if (number_online_contacts != 0)