diff options
Diffstat (limited to 'src/mate-screensaver-preferences.c')
-rw-r--r-- | src/mate-screensaver-preferences.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c index 7a18a5c..4722b31 100644 --- a/src/mate-screensaver-preferences.c +++ b/src/mate-screensaver-preferences.c @@ -663,19 +663,20 @@ separator_func (GtkTreeModel *model, GtkTreeIter *iter, gpointer data) { - int column = GPOINTER_TO_INT (data); - char *text; + int column = GPOINTER_TO_INT (data); + gboolean res = FALSE; + char *text; gtk_tree_model_get (model, iter, column, &text, -1); if (text != NULL && strcmp (text, "__separator") == 0) { - return TRUE; + res = TRUE; } g_free (text); - return FALSE; + return res; } static void |