From 817b0484ec3ac7c6a8dffac5721ee5e6c5d21e54 Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 11 May 2017 16:41:23 +0300 Subject: fix warning on closing empty window with multiple eom windows --- src/eom-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1