Mercurial > geeqie.yaz
changeset 390:39369521e263
Fix two errors made in revision 473.
author | zas_ |
---|---|
date | Wed, 16 Apr 2008 22:21:01 +0000 |
parents | b78077f65eff |
children | fcaf9c175742 |
files | src/layout.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/layout.c Wed Apr 16 21:58:05 2008 +0000 +++ b/src/layout.c Wed Apr 16 22:21:01 2008 +0000 @@ -930,7 +930,7 @@ lw->last_time = filetime(lw->path); gtk_entry_set_text(GTK_ENTRY(lw->path_entry), lw->path); - vd_set_path(lw->vd, lw->path); + if (lw->vd) vd_set_path(lw->vd, lw->path); if (lw->vfl) vflist_set_path(lw->vfl, lw->path); if (lw->vfi) vficon_set_path(lw->vfi, lw->path); @@ -1004,7 +1004,7 @@ { if (lw->path) lw->last_time = filetime(lw->path); - vd_refresh(lw->vd); + if (lw->vd) vd_refresh(lw->vd); if (lw->vfl) vflist_refresh(lw->vfl); if (lw->vfi) vficon_refresh(lw->vfi);