mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
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:
parent
f6c7bb997d
commit
cf41d1fdf8
12 changed files with 32 additions and 32 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue