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:
Sven Neumann 2005-06-27 15:28:44 +00:00 committed by Sven Neumann
parent 2cc92b001f
commit d9c4bdc4aa
4 changed files with 9 additions and 3 deletions

View File

@ -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>
* libgimpwidgets/Makefile.am

View File

@ -475,7 +475,7 @@ gimp_curves_tool_dialog (GimpImageMapTool *image_map_tool)
store = gimp_enum_store_new_with_range (GIMP_TYPE_HISTOGRAM_CHANNEL,
GIMP_HISTOGRAM_VALUE,
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_signal_connect (menu, "changed",

View File

@ -411,7 +411,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
store = gimp_enum_store_new_with_range (GIMP_TYPE_HISTOGRAM_CHANNEL,
GIMP_HISTOGRAM_VALUE,
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_signal_connect (menu, "changed",

View File

@ -141,7 +141,7 @@ gimp_paint_mode_menu_new (gboolean with_behind_mode)
gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
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);
gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (combo),