Commit d9c4bdc4 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 2cc92b00
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
......
......@@ -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",
......
......@@ -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",
......
......@@ -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),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment