aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-01-31 01:35:29 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:35:29 +0800
commite72abb965d8bd2db6ec6b79c23fa8649dbb91473 (patch)
treeaf953ed4996cfe093bc651f5685f562c0671d22f /libempathy-gtk
parent45884a895b0967c144b6abc3e214bc325d8a2505 (diff)
downloadgsoc2013-empathy-e72abb965d8bd2db6ec6b79c23fa8649dbb91473.tar
gsoc2013-empathy-e72abb965d8bd2db6ec6b79c23fa8649dbb91473.tar.gz
gsoc2013-empathy-e72abb965d8bd2db6ec6b79c23fa8649dbb91473.tar.bz2
gsoc2013-empathy-e72abb965d8bd2db6ec6b79c23fa8649dbb91473.tar.lz
gsoc2013-empathy-e72abb965d8bd2db6ec6b79c23fa8649dbb91473.tar.xz
gsoc2013-empathy-e72abb965d8bd2db6ec6b79c23fa8649dbb91473.tar.zst
gsoc2013-empathy-e72abb965d8bd2db6ec6b79c23fa8649dbb91473.zip
Don't call a function in a variable declaration.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2353
Diffstat (limited to 'libempathy-gtk')
-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)