summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-25 12:48:04 +0200
committerLuke from DC <[email protected]>2022-09-11 17:43:51 +0000
commit11d56d5d0e8e3ccb7798cd3aac4ade4c2e066a1c (patch)
treeb54868cd707f728bed6f8131322329fc62a41cf1 /src
parent2bb9b36879f6ad480bd81bc0aea3d10b7d48269e (diff)
downloadeom-11d56d5d0e8e3ccb7798cd3aac4ade4c2e066a1c.tar.bz2
eom-11d56d5d0e8e3ccb7798cd3aac4ade4c2e066a1c.tar.xz
Variable 'show_image_collection' is assigned a value that is never used
Diffstat (limited to 'src')
-rw-r--r--src/eom-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index a9dcd05..0c27927 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -574,7 +574,6 @@ update_action_groups_state (EomWindow *window)
GtkAction *action_sshow;
GtkAction *action_print;
gboolean print_disabled = FALSE;
- gboolean show_image_collection = FALSE;
gint n_images = 0;
g_return_if_fail (EOM_IS_WINDOW (window));
@@ -633,6 +632,8 @@ update_action_groups_state (EomWindow *window)
priv->status = EOM_WINDOW_STATUS_NORMAL;
}
} else {
+ gboolean show_image_collection;
+
if (priv->flags & EOM_STARTUP_DISABLE_COLLECTION) {
g_settings_set_boolean (priv->ui_settings, EOM_CONF_UI_IMAGE_COLLECTION, FALSE);