summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-05-11 16:41:23 +0300
committermonsta <[email protected]>2017-05-11 16:41:23 +0300
commit736cfedc4b62b1c0476ff79771c881b7994f57ab (patch)
tree9b7111b78cbd8325538446bb88c4a7b6baf2d72c
parent9dcf3c39ebde868b71b5598bc6f1399a887c94c5 (diff)
downloadeom-736cfedc4b62b1c0476ff79771c881b7994f57ab.tar.bz2
eom-736cfedc4b62b1c0476ff79771c881b7994f57ab.tar.xz
fix warning on closing empty window with multiple eom windows
-rw-r--r--src/eom-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 5933648..8114435 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -2312,7 +2312,7 @@ eom_window_unsaved_images_confirm (EomWindow *window)
disabled = g_settings_get_boolean(priv->ui_settings,
EOM_CONF_UI_DISABLE_CLOSE_CONFIRMATION);
disabled |= window->priv->save_disabled;
- if (disabled) {
+ if (disabled || !priv->store) {
return FALSE;
}