libgimp, plug-ins: variosu gimp_*_chooser_new() should use specific type…

… for default value.

Don't use the generic GimpResource which implies that we could set any
GimpResource (which of course makes no sense).
This commit is contained in:
Jehan 2024-09-27 16:30:47 +02:00
parent d49077569d
commit bd287d6f89
14 changed files with 78 additions and 72 deletions

View file

@ -35,7 +35,7 @@ G_DECLARE_FINAL_TYPE (GimpGradientChooser, gimp_gradient_chooser, GIMP, GRADIENT
GtkWidget * gimp_gradient_chooser_new (const gchar *title,
const gchar *label,
GimpResource *gradient);
GimpGradient *gradient);
G_END_DECLS