plug-ins: Fix regression in Map Object options

Resolves #15073
In 2.10, the Depth and Threshold parameters of
Map Object were dependent on the Anti-Alias
option being enabled. This dependency was lost
in the GimpProcedureDialog port.
This patch restores the connection between those
variables.

(cherry picked from commit 6e9523f15a)
This commit is contained in:
Alx Sa 2025-10-11 17:46:32 +00:00 committed by Bruno Lopes
parent e69b8d0f87
commit 4e11e17f56
No known key found for this signature in database

View file

@ -438,14 +438,23 @@ main_dialog (GimpProcedure *procedure,
"options-frame",
"general-options", FALSE,
"general-box");
gimp_procedure_dialog_get_scale_entry (GIMP_PROCEDURE_DIALOG (appwin),
"depth", 1.0);
gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), "options-box",
"options-frame",
"antialiasing",
gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin),
"antialias-box",
"depth",
"threshold",
NULL);
gimp_procedure_dialog_get_scale_entry (GIMP_PROCEDURE_DIALOG (appwin),
"depth", 1.0);
gimp_procedure_dialog_fill_frame (GIMP_PROCEDURE_DIALOG (appwin),
"antialias-frame",
"antialiasing", FALSE,
"antialias-box");
gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), "options-box",
"options-frame",
"antialias-frame",
NULL);
g_signal_connect (config, "notify::transparent-background",
G_CALLBACK (update_preview),