empathy r2353 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Jan 30 17:35:29 2009
New Revision: 2353
URL: http://svn.gnome.org/viewvc/empathy?rev=2353&view=rev

Log:
Don't call a function in a variable declaration.

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/libempathy-gtk/empathy-contact-selector.c

Modified: trunk/libempathy-gtk/empathy-contact-selector.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-selector.c	(original)
+++ trunk/libempathy-gtk/empathy-contact-selector.c	Fri Jan 30 17:35:29 2009
@@ -131,12 +131,13 @@
 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]