diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-03-22 09:24:26 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2015-03-22 09:24:26 +0000 |
commit | c45daa96bfdc5a958cc0f2cdaf4db71ac61b8fde (patch) | |
tree | 70cd3b3d0d5a9a2c0146bf4edf3ca92b35e04218 | |
parent | src/tree.c: Do not use deprecated gtk_tree_view_set_rules_hint() (diff) | |
download | zenity-c45daa96bfdc5a958cc0f2cdaf4db71ac61b8fde.tar.gz zenity-c45daa96bfdc5a958cc0f2cdaf4db71ac61b8fde.tar.bz2 zenity-c45daa96bfdc5a958cc0f2cdaf4db71ac61b8fde.zip |
src/tree.c: avoid a compilation warning
-rw-r--r-- | src/tree.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -305,8 +305,9 @@ zenity_mid_search_func (GtkTreeModel *model, gint column, { gchar *iter_string = NULL; gtk_tree_model_get (model, iter, column, &iter_string, -1); - return ! g_strrstr (g_utf8_strdown(iter_string, -1), - g_utf8_strdown(key, -1)) != NULL; + return ! (g_strrstr (g_utf8_strdown(iter_string, -1), + g_utf8_strdown(key, -1)) != NULL); + } static void |