Commit e72abb96 authored by Jonny Lamb's avatar Jonny Lamb Committed by Xavier Claessens

Don't call a function in a variable declaration.

Signed-off-by: 's avatarJonny Lamb <>

svn path=/trunk/; revision=2353
parent 45884a89
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment