summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-25 12:48:04 +0200
committerrbuj <[email protected]>2022-03-15 09:50:10 +0100
commit31d22c755c2e064bd4d64412e0a6f6fa4b0c2356 (patch)
tree71c76f1143be51a64826ed570551ac43051d05ea
parentfa5f881571da036c499a2a677324b43927fe9642 (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 a1ddd99..2b929c9 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);