colorselector: Rename signal emitters

The GIR parser is giving warnings because both e.g. a signal, a
corresponding vfunc and a method emitting it are named
"channel_changed", which can and will give issues in some bindings.

The easiest option is to follow the general convention of starting the
signal emitters with `emit_`, which also makes clear the intention of
the method.
This commit is contained in:
Niels De Graef 2020-05-03 23:17:57 +02:00 committed by Niels De Graef
parent f6c7bb997d
commit cf41d1fdf8
12 changed files with 32 additions and 32 deletions

View file

@ -344,7 +344,7 @@ colorsel_cmyk_adj_update (GtkAdjustment *adj,
gimp_rgb_to_hsv (&selector->rgb, &selector->hsv);
gimp_color_selector_color_changed (selector);
gimp_color_selector_emit_color_changed (selector);
}
static void

View file

@ -406,7 +406,7 @@ add_pigment (ColorselWater *water,
gimp_rgb_to_hsv (&selector->rgb, &selector->hsv);
gimp_color_selector_color_changed (selector);
gimp_color_selector_emit_color_changed (selector);
}
static void

View file

@ -160,5 +160,5 @@ colorsel_wheel_changed (GimpColorWheel *hsv,
&selector->hsv.v);
gimp_hsv_to_rgb (&selector->hsv, &selector->rgb);
gimp_color_selector_color_changed (selector);
gimp_color_selector_emit_color_changed (selector);
}