X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Flayout_image.c;h=8289cb73f2729e995f715c9513a1632fe1924fdb;hp=08726124401f93bb3fee1e9bc5c93c4a451f283b;hb=9828bbe6d27398f12c9a0b72504d9efebb87a945;hpb=6c65564fcd9c0814f215e232fe9cd80f1b6b3bf3 diff --git a/src/layout_image.c b/src/layout_image.c index 08726124..8289cb73 100644 --- a/src/layout_image.c +++ b/src/layout_image.c @@ -1070,7 +1070,6 @@ void layout_image_alter_orientation(LayoutWindow *lw, AlterType type) GtkTreePath *tpath; FileData *fd_n; GtkTreeIter iter; - IconData *id; if (!lw || !lw->vf) return; @@ -1089,8 +1088,7 @@ void layout_image_alter_orientation(LayoutWindow *lw, AlterType type) { if (lw->vf->type == FILEVIEW_ICON) { - id = work->data; - fd_n = id->fd; + fd_n = work->data; work = work->next; } else @@ -1120,7 +1118,6 @@ void layout_image_rating(LayoutWindow *lw, const gchar *rating) GtkTreePath *tpath; FileData *fd_n; GtkTreeIter iter; - IconData *id; if (!lw || !lw->vf) return; @@ -1139,8 +1136,7 @@ void layout_image_rating(LayoutWindow *lw, const gchar *rating) { if (lw->vf->type == FILEVIEW_ICON) { - id = work->data; - fd_n = id->fd; + fd_n = work->data; work = work->next; } else