aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:35:06 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:35:06 +0800
commitc9e6a5c97c79068732bd696cc884524787e89a84 (patch)
tree836d32cc8b38bb7187c264891ac9056778af01f4
parent2e9c95b7ce57b83d888d6709930361a1c8b380c6 (diff)
downloadgsoc2013-empathy-c9e6a5c97c79068732bd696cc884524787e89a84.tar
gsoc2013-empathy-c9e6a5c97c79068732bd696cc884524787e89a84.tar.gz
gsoc2013-empathy-c9e6a5c97c79068732bd696cc884524787e89a84.tar.bz2
gsoc2013-empathy-c9e6a5c97c79068732bd696cc884524787e89a84.tar.lz
gsoc2013-empathy-c9e6a5c97c79068732bd696cc884524787e89a84.tar.xz
gsoc2013-empathy-c9e6a5c97c79068732bd696cc884524787e89a84.tar.zst
gsoc2013-empathy-c9e6a5c97c79068732bd696cc884524787e89a84.zip
Explicit check.
svn path=/trunk/; revision=2345
-rw-r--r--libempathy-gtk/empathy-contact-selector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-selector.c b/libempathy-gtk/empathy-contact-selector.c
index 0a524a500..aafffdc84 100644
--- a/libempathy-gtk/empathy-contact-selector.c
+++ b/libempathy-gtk/empathy-contact-selector.c
@@ -140,7 +140,7 @@ contact_selector_manage_sensitivity (EmpathyContactSelector *selector)
guint number_online_contacts = contact_selector_get_number_online_contacts (
GTK_TREE_STORE (priv->store));
- if (number_online_contacts)
+ if (number_online_contacts != 0)
gtk_widget_set_sensitive (GTK_WIDGET (selector), TRUE);
else
gtk_widget_set_sensitive (GTK_WIDGET (selector), FALSE);