From: Dana Jansens Date: Sat, 4 Aug 2007 16:49:56 +0000 (-0400) Subject: comments X-Git-Tag: release-2.0.3~31 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=2d7fe96da8014e4e4c527c4e6f3bc12bd74e8d24;p=dana%2Fobconf.git comments --- diff --git a/src/preview_update.c b/src/preview_update.c index 1b2d12b..a0e17c8 100644 --- a/src/preview_update.c +++ b/src/preview_update.c @@ -91,6 +91,7 @@ static gboolean update_theme_preview_iterate(gpointer data) gchar *name; if (restart_theme_preview_update) { + /* get the first iterator position if there is such a thing */ if (!gtk_tree_model_get_iter_first(GTK_TREE_MODEL(ls), &iter)) { /* nothing to show */ obconf_show_main(); @@ -98,6 +99,7 @@ static gboolean update_theme_preview_iterate(gpointer data) } restart_theme_preview_update = FALSE; } else { + /* get the next iterator position if there is such a thing */ if (!gtk_tree_model_iter_next(GTK_TREE_MODEL(ls), &iter)) { GtkTreePath *path;