Mercurial > geeqie
changeset 958:419fe0574a34
fixed setting visible entry in view_dir_tree
author | nadvornik |
---|---|
date | Mon, 11 Aug 2008 17:45:26 +0000 |
parents | 36a48d09daa8 |
children | 9791230f83d3 |
files | src/ui_tree_edit.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ui_tree_edit.c Wed Jul 30 18:44:49 2008 +0000 +++ b/src/ui_tree_edit.c Mon Aug 11 17:45:26 2008 +0000 @@ -349,7 +349,7 @@ GdkRectangle vrect; GdkRectangle crect; - if (!GTK_WIDGET_REALIZED(GTK_WIDGET(widget))) return 0; + if (!GTK_WIDGET_REALIZED(GTK_WIDGET(widget))) return -1; /* we will most probably scroll down, needed for tree_view_row_make_visible */ store = gtk_tree_view_get_model(widget); tpath = gtk_tree_model_get_path(store, iter);