From 3799d66ecfe7e30eb84dca30cc5f1aab89c13f38 Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 5 May 2025 15:18:22 +0200 Subject: [PATCH] Revert "plug-ins: Convert screenshot dropdowns to radios" This reverts commit 7af987d31b8096c6bf6b0589589194c83aeaf705. This commit is not needed anymore since the automatically generated widget will now be radio buttons for small lists of choices. --- plug-ins/screenshot/screenshot.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plug-ins/screenshot/screenshot.c b/plug-ins/screenshot/screenshot.c index ce3fdca7c3..996416dafd 100644 --- a/plug-ins/screenshot/screenshot.c +++ b/plug-ins/screenshot/screenshot.c @@ -602,8 +602,6 @@ shoot_dialog (GimpProcedure *procedure, FALSE, "delay-box"); } - gimp_procedure_dialog_get_widget (GIMP_PROCEDURE_DIALOG (dialog), - "shoot-type", GIMP_TYPE_INT_RADIO_FRAME); gimp_procedure_dialog_fill (GIMP_PROCEDURE_DIALOG (dialog), "shoot-type", NULL); if ((capabilities & SCREENSHOT_CAN_SHOOT_POINTER) || @@ -613,8 +611,6 @@ shoot_dialog (GimpProcedure *procedure, if (capabilities & SCREENSHOT_CAN_DELAY_WINDOW_SHOT) gimp_procedure_dialog_fill (GIMP_PROCEDURE_DIALOG (dialog), "delay-frame", NULL); - gimp_procedure_dialog_get_widget (GIMP_PROCEDURE_DIALOG (dialog), - "color-profile", GIMP_TYPE_INT_RADIO_FRAME); gimp_procedure_dialog_fill (GIMP_PROCEDURE_DIALOG (dialog), "color-profile", NULL); run = gimp_procedure_dialog_run (GIMP_PROCEDURE_DIALOG (dialog));