projects
/
dana
/
obconf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2a6d23
)
comments
author
Dana Jansens
<danakj@orodu.net>
Sat, 4 Aug 2007 16:49:56 +0000
(12:49 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 4 Aug 2007 16:49:56 +0000
(12:49 -0400)
src/preview_update.c
patch
|
blob
|
history
diff --git
a/src/preview_update.c
b/src/preview_update.c
index 1b2d12b8a9fa55023ad2af7e81cd864e9c3b27dc..a0e17c8558ac95b06f8e07151e945d850bce5a84 100644
(file)
--- 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;