Mercurial > geeqie.yaz
changeset 1171:8721675f80ce
Tidy up.
author | zas_ |
---|---|
date | Sat, 22 Nov 2008 22:10:10 +0000 |
parents | 159f225985c5 |
children | 08ef8c605723 |
files | src/layout_image.c |
diffstat | 1 files changed, 2 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/layout_image.c Sat Nov 22 22:04:21 2008 +0000 +++ b/src/layout_image.c Sat Nov 22 22:10:10 2008 +0000 @@ -1697,14 +1697,12 @@ gtk_paned_pack1(GTK_PANED(hpaned), vpaned1, TRUE, TRUE); gtk_paned_pack2(GTK_PANED(hpaned), vpaned2, TRUE, TRUE); - for (i = 0; i < 4; i++) gtk_widget_show(lw->split_images[i]->widget); gtk_widget_show(vpaned1); gtk_widget_show(vpaned2); - lw->split_image_widget = hpaned; return lw->split_image_widget; @@ -1736,10 +1734,7 @@ static void layout_image_maint_renamed(LayoutWindow *lw, FileData *fd) { - FileData *img_fd; - - img_fd = layout_image_get_fd(lw); - if (img_fd == fd) + if (fd == layout_image_get_fd(lw)) { image_set_fd(lw->image, fd); layout_bars_maint_renamed(lw); @@ -1748,10 +1743,7 @@ static void layout_image_maint_removed(LayoutWindow *lw, FileData *fd) { - FileData *img_fd; - - img_fd = layout_image_get_fd(lw); - if (img_fd == fd) + if (fd == layout_image_get_fd(lw)) { CollectionData *cd; CollectInfo *info;