mirror of https://github.com/GNOME/gimp.git
app/tools/gimpcurvestool.c app/tools/gimplevelstool.c added missing casts.
2005-06-27 Sven Neumann <sven@gimp.org> * app/tools/gimpcurvestool.c * app/tools/gimplevelstool.c * app/widgets/gimpwidgets-constructors.c: added missing casts.
This commit is contained in:
parent
2cc92b001f
commit
d9c4bdc4aa
|
@ -1,3 +1,9 @@
|
||||||
|
2005-06-27 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/tools/gimpcurvestool.c
|
||||||
|
* app/tools/gimplevelstool.c
|
||||||
|
* app/widgets/gimpwidgets-constructors.c: added missing casts.
|
||||||
|
|
||||||
2005-06-27 Michael Natterer <mitch@gimp.org>
|
2005-06-27 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* libgimpwidgets/Makefile.am
|
* libgimpwidgets/Makefile.am
|
||||||
|
|
|
@ -475,7 +475,7 @@ gimp_curves_tool_dialog (GimpImageMapTool *image_map_tool)
|
||||||
store = gimp_enum_store_new_with_range (GIMP_TYPE_HISTOGRAM_CHANNEL,
|
store = gimp_enum_store_new_with_range (GIMP_TYPE_HISTOGRAM_CHANNEL,
|
||||||
GIMP_HISTOGRAM_VALUE,
|
GIMP_HISTOGRAM_VALUE,
|
||||||
GIMP_HISTOGRAM_ALPHA);
|
GIMP_HISTOGRAM_ALPHA);
|
||||||
menu = gimp_enum_combo_box_new_with_model (store);
|
menu = gimp_enum_combo_box_new_with_model (GIMP_ENUM_STORE (store));
|
||||||
g_object_unref (store);
|
g_object_unref (store);
|
||||||
|
|
||||||
g_signal_connect (menu, "changed",
|
g_signal_connect (menu, "changed",
|
||||||
|
|
|
@ -411,7 +411,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
|
||||||
store = gimp_enum_store_new_with_range (GIMP_TYPE_HISTOGRAM_CHANNEL,
|
store = gimp_enum_store_new_with_range (GIMP_TYPE_HISTOGRAM_CHANNEL,
|
||||||
GIMP_HISTOGRAM_VALUE,
|
GIMP_HISTOGRAM_VALUE,
|
||||||
GIMP_HISTOGRAM_ALPHA);
|
GIMP_HISTOGRAM_ALPHA);
|
||||||
menu = gimp_enum_combo_box_new_with_model (store);
|
menu = gimp_enum_combo_box_new_with_model (GIMP_ENUM_STORE (store));
|
||||||
g_object_unref (store);
|
g_object_unref (store);
|
||||||
|
|
||||||
g_signal_connect (menu, "changed",
|
g_signal_connect (menu, "changed",
|
||||||
|
|
|
@ -141,7 +141,7 @@ gimp_paint_mode_menu_new (gboolean with_behind_mode)
|
||||||
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
|
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
|
||||||
GIMP_LIGHTEN_ONLY_MODE, -1);
|
GIMP_LIGHTEN_ONLY_MODE, -1);
|
||||||
|
|
||||||
combo = gimp_enum_combo_box_new_with_model (store);
|
combo = gimp_enum_combo_box_new_with_model (GIMP_ENUM_STORE (store));
|
||||||
g_object_unref (store);
|
g_object_unref (store);
|
||||||
|
|
||||||
gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (combo),
|
gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (combo),
|
||||||
|
|
Loading…
Reference in New Issue