From 7419473ad08b8a74ab62d197a6a0c16be26a3c74 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Sun, 25 Aug 2024 15:29:46 +0200 Subject: [PATCH] file-fits: Remove no-op use-data-min-max The functionality behind it was removed in commit d4f420769c51b8f2b3c585e1e833b96ac52f9f0b. Signed-off-by: Nils Philippsen --- plug-ins/file-fits/fits.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/plug-ins/file-fits/fits.c b/plug-ins/file-fits/fits.c index 3d3be15544..49bc2a5b68 100644 --- a/plug-ins/file-fits/fits.c +++ b/plug-ins/file-fits/fits.c @@ -204,15 +204,6 @@ fits_create_procedure (GimpPlugIn *plug_in, NULL), "black", G_PARAM_READWRITE); - - gimp_procedure_add_choice_aux_argument (procedure, "use-data-min-max", - _("Pi_xel value scaling"), - _("Whether to use DATAMIN/DATAMAX-scaling if possible"), - gimp_choice_new_with_values ("automatic", 0, _("Automatic"), NULL, - "data-min-max", 1, _("By DATAMIN/DATAMAX"), NULL, - NULL), - "automatic", - G_PARAM_READWRITE); } else if (! strcmp (name, EXPORT_PROC)) { @@ -368,12 +359,9 @@ load_image (GFile *file, gint channels = 1; gint replace; gdouble replace_val = 0; - gboolean use_datamin; replace = gimp_procedure_config_get_choice_id (GIMP_PROCEDURE_CONFIG (config), "replace"); - use_datamin = gimp_procedure_config_get_choice_id (GIMP_PROCEDURE_CONFIG (config), - "use-data-min-max"); fp = g_fopen (g_file_peek_path (file), "rb"); @@ -1013,10 +1001,6 @@ load_dialog (GimpProcedure *procedure, "replace", GIMP_TYPE_INT_RADIO_FRAME); gtk_widget_set_margin_bottom (frame, 12); - frame = gimp_procedure_dialog_get_widget (GIMP_PROCEDURE_DIALOG (dialog), - "use-data-min-max", GIMP_TYPE_INT_RADIO_FRAME); - gtk_widget_set_margin_bottom (frame, 12); - gimp_procedure_dialog_fill (GIMP_PROCEDURE_DIALOG (dialog), NULL);