summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-05-11 16:41:23 +0300
committermonsta <[email protected]>2017-05-11 20:32:53 +0300
commit817b0484ec3ac7c6a8dffac5721ee5e6c5d21e54 (patch)
tree19ee51d7c3d284a4fdebca8cda1b96e1549292db
parent66571e37e466d4594f30cd740d3db4443449c3c3 (diff)
downloadeom-817b0484ec3ac7c6a8dffac5721ee5e6c5d21e54.tar.bz2
eom-817b0484ec3ac7c6a8dffac5721ee5e6c5d21e54.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 df9dc61..e2355d9 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;
}