X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Flayout_util.c;h=106f8dc4e92ee6ab1dbf94ab18f3d7fdd5783142;hp=fc431c899a42335a60afbe03c442fa0a672ceead;hb=9828bbe6d27398f12c9a0b72504d9efebb87a945;hpb=6c65564fcd9c0814f215e232fe9cd80f1b6b3bf3 diff --git a/src/layout_util.c b/src/layout_util.c index fc431c89..106f8dc4 100644 --- a/src/layout_util.c +++ b/src/layout_util.c @@ -463,7 +463,6 @@ static void layout_menu_write_rotate(GtkToggleAction *action, gpointer data, gbo GtkTreePath *tpath; FileData *fd_n; GtkTreeIter iter; - IconData *id; gchar *rotation; gchar *command; gint run_result; @@ -489,8 +488,7 @@ static void layout_menu_write_rotate(GtkToggleAction *action, gpointer data, gbo { if (lw->vf->type == FILEVIEW_ICON) { - id = work->data; - fd_n = id->fd; + fd_n = work->data; work = work->next; } else