diff -r 1dc1d56107a2 -r f9f672dcaadf pidgin/gtkwebviewtoolbar.c --- a/pidgin/gtkwebviewtoolbar.c Sun Oct 20 16:43:08 2013 +0530 +++ b/pidgin/gtkwebviewtoolbar.c Sun Oct 20 18:19:05 2013 +0530 @@ -1529,7 +1529,7 @@ gtk_action_set_sensitive(priv->attention, FALSE); gtk_action_set_sensitive(priv->smiley, - (gboolean)pidgin_themes_get_proto_smileys(NULL)); + pidgin_themes_get_proto_smileys(NULL) != NULL); purple_prefs_connect_callback(toolbar, PIDGIN_PREFS_ROOT "/conversations/toolbar/wide", @@ -1632,7 +1632,7 @@ PURPLE_PLUGIN_PROTOCOL_INFO(prpl)->send_attention != NULL); gtk_action_set_sensitive(priv->smiley, - (gboolean)pidgin_themes_get_proto_smileys(priv->sml)); + pidgin_themes_get_proto_smileys(priv->sml) != NULL); } void