plug-ins: do not unref anymore int stores given to…

… gimp_procedure_dialog_get_int_combo().

See previous commit.
This commit is contained in:
Jehan 2022-06-17 17:59:54 +02:00
parent 8761d84aef
commit 5b22cef644
5 changed files with 1 additions and 8 deletions

View File

@ -1118,7 +1118,6 @@ save_dialog (GimpImage *image,
gimp_procedure_dialog_get_int_combo (GIMP_PROCEDURE_DIALOG (dialog),
"speed", GIMP_INT_STORE (store));
g_object_unref (store);
store = gimp_int_store_new (_("8 bit/channel"), 8,
_("16 bit/channel"), 16,
@ -1126,7 +1125,6 @@ save_dialog (GimpImage *image,
gimp_procedure_dialog_get_int_combo (GIMP_PROCEDURE_DIALOG (dialog),
"save-bit-depth", GIMP_INT_STORE (store));
g_object_unref (store);
orig_profile_check = gimp_procedure_dialog_get_widget (GIMP_PROCEDURE_DIALOG (dialog),
"uses-original-profile",

View File

@ -2289,7 +2289,6 @@ save_dialog (GimpImage *image,
NULL);
gimp_procedure_dialog_get_int_combo (GIMP_PROCEDURE_DIALOG (dialog),
"format", GIMP_INT_STORE (store));
g_object_unref (store);
gimp_procedure_dialog_set_sensitive (GIMP_PROCEDURE_DIALOG (dialog),
"save-transparent",

View File

@ -950,7 +950,6 @@ save_dialog (GimpProcedure *procedure,
widget = gimp_procedure_dialog_get_int_combo (GIMP_PROCEDURE_DIALOG (dialog),
"sub-sampling", GIMP_INT_STORE (store));
widget = gimp_label_int_widget_get_widget (GIMP_LABEL_INT_WIDGET (widget));
g_object_unref (store);
if (! gimp_drawable_is_rgb (drawable))
{
@ -964,8 +963,7 @@ save_dialog (GimpProcedure *procedure,
_("Floating-Point"), 2,
NULL);
gimp_procedure_dialog_get_int_combo (GIMP_PROCEDURE_DIALOG (dialog),
"dct", GIMP_INT_STORE (store));
g_object_unref (store);
"dct", GIMP_INT_STORE (store));
gimp_procedure_dialog_get_label (GIMP_PROCEDURE_DIALOG (dialog),
"advanced-title", _("Advanced Options"));

View File

@ -1254,7 +1254,6 @@ save_dialog (GimpImage *image,
NULL);
combo = gimp_procedure_dialog_get_int_combo (GIMP_PROCEDURE_DIALOG (dialog),
"compression", GIMP_INT_STORE (store));
g_object_unref (store);
combo = gimp_label_int_widget_get_widget (GIMP_LABEL_INT_WIDGET (combo));
gimp_int_combo_box_set_sensitivity (GIMP_INT_COMBO_BOX (combo),
combo_sensitivity_func,

View File

@ -86,7 +86,6 @@ save_dialog (GimpImage *image,
NULL);
gimp_procedure_dialog_get_int_combo (GIMP_PROCEDURE_DIALOG (dialog),
"preset", GIMP_INT_STORE (store));
g_object_unref (store);
/* Create scale for image and alpha quality */
gimp_procedure_dialog_get_widget (GIMP_PROCEDURE_DIALOG (dialog),