diff --git a/app/propgui/gimppropgui-shadows-highlights.c b/app/propgui/gimppropgui-shadows-highlights.c index 48a13f72ce..da0f6d1bdc 100644 --- a/app/propgui/gimppropgui-shadows-highlights.c +++ b/app/propgui/gimppropgui-shadows-highlights.c @@ -38,18 +38,17 @@ GtkWidget * _gimp_prop_gui_new_shadows_highlights (GObject *config, - GParamSpec **param_specs, - guint n_param_specs, - GeglRectangle *area, - GimpContext *context, - GimpCreatePickerFunc create_picker_func, - GimpCreateControllerFunc create_controller_func, - gpointer creator) + GParamSpec **param_specs, + guint n_param_specs, + GeglRectangle *area, + GimpContext *context, + GimpCreatePickerFunc create_picker_func, + GimpCreateControllerFunc create_controller_func, + gpointer creator) { GtkWidget *main_vbox; GtkWidget *frame; GtkWidget *vbox; - GtkWidget *checkbox; GtkWidget *scale; const gchar *label; @@ -58,7 +57,7 @@ _gimp_prop_gui_new_shadows_highlights (GObject *config, g_return_val_if_fail (n_param_specs > 0, NULL); g_return_val_if_fail (GIMP_IS_CONTEXT (context), NULL); - main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 3); + main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 4); frame = gimp_frame_new (_("Shadows")); gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0); @@ -73,7 +72,7 @@ _gimp_prop_gui_new_shadows_highlights (GObject *config, gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0); gtk_widget_show (scale); - scale = gimp_prop_widget_new (config, "shadows_ccorrect", + scale = gimp_prop_widget_new (config, "shadows-ccorrect", area, context, NULL, NULL, NULL, &label); gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0); gtk_widget_show (scale); @@ -91,7 +90,7 @@ _gimp_prop_gui_new_shadows_highlights (GObject *config, gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0); gtk_widget_show (scale); - scale = gimp_prop_widget_new (config, "highlights_ccorrect", + scale = gimp_prop_widget_new (config, "highlights-ccorrect", area, context, NULL, NULL, NULL, &label); gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0); gtk_widget_show (scale); diff --git a/app/propgui/gimppropgui-shadows-highlights.h b/app/propgui/gimppropgui-shadows-highlights.h index e9da17c130..d4fa60d15c 100644 --- a/app/propgui/gimppropgui-shadows-highlights.h +++ b/app/propgui/gimppropgui-shadows-highlights.h @@ -23,13 +23,13 @@ GtkWidget * _gimp_prop_gui_new_shadows_highlights (GObject *config, - GParamSpec **param_specs, - guint n_param_specs, - GeglRectangle *area, - GimpContext *context, - GimpCreatePickerFunc create_picker_func, - GimpCreateControllerFunc create_controller_func, - gpointer creator); + GParamSpec **param_specs, + guint n_param_specs, + GeglRectangle *area, + GimpContext *context, + GimpCreatePickerFunc create_picker_func, + GimpCreateControllerFunc create_controller_func, + gpointer creator); #endif /* __GIMP_PROP_GUI_SHADOWS_HIGHLIGHTS_H__ */ diff --git a/app/sanity.c b/app/sanity.c index 23b3d50d79..364e5193fd 100644 --- a/app/sanity.c +++ b/app/sanity.c @@ -689,6 +689,7 @@ sanity_check_gegl_ops (void) "gegl:scale-ratio", "gegl:seamless-clone", "gegl:sepia", + "gegl:shadows-highlights", "gegl:shift", "gegl:simplex-noise", "gegl:shift",