Commit c9e6a5c9 authored by Xavier Claessens's avatar Xavier Claessens

Explicit check.

svn path=/trunk/; revision=2345
parent 2e9c95b7
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment