[gimp] app: make sure we send the origin display to plug-ins through PDB.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: make sure we send the origin display to plug-ins through PDB.
- Date: Fri, 30 Apr 2021 01:54:15 +0000 (UTC)
commit 1566d9437ea359965cbb8a650cf372473838d04e
Author: Jehan <jehan girinstud io>
Date: Fri Apr 30 03:48:12 2021 +0200
app: make sure we send the origin display to plug-ins through PDB.
app/plug-in/gimppluginmanager-call.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/app/plug-in/gimppluginmanager-call.c b/app/plug-in/gimppluginmanager-call.c
index de03e111dc..a90dcfb014 100644
--- a/app/plug-in/gimppluginmanager-call.c
+++ b/app/plug-in/gimppluginmanager-call.c
@@ -196,6 +196,9 @@ gimp_plug_in_manager_call_run (GimpPlugInManager *manager,
return return_vals;
}
+ if (! display)
+ display = gimp_context_get_display (context);
+
display_id = display ? gimp_display_get_id (display) : -1;
icon_theme_dir = gimp_get_icon_theme_dir (manager->gimp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]