Mercurial > geeqie.yaz
changeset 501:1bac19d5a663
Fix Gtk-CRITICAL **: gtk_entry_set_text: assertion `GTK_IS_ENTRY (entry)' failed
occuring when toggling file list view <-> file icon view.
author | zas_ |
---|---|
date | Wed, 23 Apr 2008 22:40:55 +0000 |
parents | 01fe7ca55c69 |
children | 2c6558663b52 |
files | src/layout.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/layout.c Wed Apr 23 22:38:34 2008 +0000 +++ b/src/layout.c Wed Apr 23 22:40:55 2008 +0000 @@ -937,7 +937,7 @@ lw->last_time = filetime(lw->path); - gtk_entry_set_text(GTK_ENTRY(lw->path_entry), lw->path); + if (lw->path_entry) gtk_entry_set_text(GTK_ENTRY(lw->path_entry), lw->path); if (lw->vd) vd_set_path(lw->vd, lw->path); if (lw->vfl) vflist_set_path(lw->vfl, lw->path);