summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-25 12:48:04 +0200
committerrbuj <[email protected]>2021-10-25 12:48:04 +0200
commitf6247396e09d1b3a10a0018ab6c02c3c4aba22e3 (patch)
tree017f7dc0316580c7d7b639877a0ca83779721f10
parent94bd058b681fa05a54b5223549120af82ffdd2df (diff)
downloadeom-window-unreadVariable.tar.bz2
eom-window-unreadVariable.tar.xz
Variable 'show_image_collection' is assigned a value that is never usedeom-window-unreadVariable
-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 39d145e..4852f21 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);