[gimp] Issue #1918: fix CRITICAL in MWM when reopening close dock while…
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Issue #1918: fix CRITICAL in MWM when reopening close dock while…
- Date: Wed, 27 Jul 2022 09:00:54 +0000 (UTC)
commit 4ca9cef3329fd149b4152d6d593f9c4528dadbfa
Author: Jehan <jehan girinstud io>
Date: Wed Jul 27 10:59:31 2022 +0200
Issue #1918: fix CRITICAL in MWM when reopening close dock while…
… an image is opened.
app/dialogs/dialogs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/dialogs/dialogs.c b/app/dialogs/dialogs.c
index 2ffb8ed253..608a15ed39 100644
--- a/app/dialogs/dialogs.c
+++ b/app/dialogs/dialogs.c
@@ -469,7 +469,7 @@ dialogs_restore_dialog (GimpDialogFactory *factory,
GtkWidget *dialog;
Gimp *gimp = gimp_dialog_factory_get_context (factory)->gimp;
GimpCoreConfig *config = gimp->config;
- GimpDisplay *display = GIMP_DISPLAY (gimp_get_empty_display (gimp));
+ GimpDisplay *display = gimp_context_get_display (gimp_get_user_context (gimp));
GimpDisplayShell *shell = gimp_display_get_shell (display);
GIMP_LOG (DIALOG_FACTORY, "restoring toplevel \"%s\" (info %p)",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]