aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2009-01-31 01:35:06 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2009-01-31 01:35:06 +0800
commit23fc9da5e5d4addfd023988594c29512271009db (patch)
tree836d32cc8b38bb7187c264891ac9056778af01f4
parentee7c1df0e4a84d9e1504f89d520e7a98511b0362 (diff)
downloadgsoc2013-empathy-23fc9da5e5d4addfd023988594c29512271009db.tar
gsoc2013-empathy-23fc9da5e5d4addfd023988594c29512271009db.tar.gz
gsoc2013-empathy-23fc9da5e5d4addfd023988594c29512271009db.tar.bz2
gsoc2013-empathy-23fc9da5e5d4addfd023988594c29512271009db.tar.lz
gsoc2013-empathy-23fc9da5e5d4addfd023988594c29512271009db.tar.xz
gsoc2013-empathy-23fc9da5e5d4addfd023988594c29512271009db.tar.zst
gsoc2013-empathy-23fc9da5e5d4addfd023988594c29512271009db.zip
Explicit check.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2345 4ee84921-47dd-4033-b63a-18d7a039a3e4
-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);