empathy r2353 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2353 - trunk/libempathy-gtk
- Date: Fri, 30 Jan 2009 17:35:29 +0000 (UTC)
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]