Commit 2e3ac558 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/widgets/gimpactiongroup.c app/widgets/gimpenumcombobox.c fixed inline

2004-04-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactiongroup.c
	* app/widgets/gimpenumcombobox.c
	* app/widgets/gimpenumstore.c: fixed inline docs.

	* app/widgets/gimpenumaction.c:	fixed property declaration.
parent a7ffe94b
2004-04-19 Sven Neumann <sven@gimp.org>
* app/widgets/gimpactiongroup.c
* app/widgets/gimpenumcombobox.c
* app/widgets/gimpenumstore.c: fixed inline docs.
* app/widgets/gimpenumaction.c: fixed property declaration.
2004-04-19 Michael Natterer <mitch@gimp.org>
* app/gui/colormap-editor-commands.[ch]
......
......@@ -180,6 +180,7 @@ gimp_action_group_get_property (GObject *object,
/**
* gimp_action_group_new:
* @gimp: the @Gimp instance this action group belongs to
* @name: the name of the action group.
*
* Creates a new #GimpActionGroup object. The name of the action group
......
......@@ -106,7 +106,7 @@ gimp_enum_action_class_init (GimpEnumActionClass *klass)
g_object_class_install_property (object_class, PROP_VALUE,
g_param_spec_int ("value",
NULL, NULL,
0, G_MININT, G_MAXINT,
G_MININT, G_MAXINT, 0,
G_PARAM_READWRITE));
action_signals[SELECTED] =
......
......@@ -94,7 +94,7 @@ gimp_enum_combo_box_new (GType enum_type)
/**
* gimp_enum_combo_box_new_with_model:
* @enum_type: the #GType of an enum.
* @enum_store: a #GimpEnumStore to use as the tree model
*
* Creates a new #GimpEnumComboBox using the #GimpEnumStore as its model.
*
......@@ -212,8 +212,6 @@ gimp_enum_combo_box_set_stock_prefix (GimpEnumComboBox *combo_box,
stock_prefix, GTK_ICON_SIZE_MENU);
}
/* This is a kludge to allow to work around bug #135875. */
/**
* gimp_enum_combo_box_set_visible:
* @combo_box: a #GimpEnumComboBox
......@@ -222,7 +220,7 @@ gimp_enum_combo_box_set_stock_prefix (GimpEnumComboBox *combo_box,
*
* Sets a filter on the combo_box that selectively hides items. The
* registered callback @func is called with an iter for each item and
* returns %TRUE or %FALSE indicating whether the respective row
* must return %TRUE or %FALSE indicating whether the respective row
* should be visible or not.
*
* This function must only be called once for a @combo_box. If you
......
......@@ -299,10 +299,11 @@ gimp_enum_store_lookup_by_value (GtkTreeModel *model,
}
/**
* gimp_enum_store_lookup_by_value:
* gimp_enum_store_set_icons:
* @store: a #GimpEnumStore
* @widget: the widget used to create the icon pixbufs
* @stock_prefix: a prefix to create icon stock ID from enum values
* @size: the size to create the icons in
*
* Creates a stock ID for each enum value in the @store by appending
* the value's nick to the given @stock_prefix inserting a hyphen
......
......@@ -94,7 +94,7 @@ gimp_enum_combo_box_new (GType enum_type)
/**
* gimp_enum_combo_box_new_with_model:
* @enum_type: the #GType of an enum.
* @enum_store: a #GimpEnumStore to use as the tree model
*
* Creates a new #GimpEnumComboBox using the #GimpEnumStore as its model.
*
......@@ -212,8 +212,6 @@ gimp_enum_combo_box_set_stock_prefix (GimpEnumComboBox *combo_box,
stock_prefix, GTK_ICON_SIZE_MENU);
}
/* This is a kludge to allow to work around bug #135875. */
/**
* gimp_enum_combo_box_set_visible:
* @combo_box: a #GimpEnumComboBox
......@@ -222,7 +220,7 @@ gimp_enum_combo_box_set_stock_prefix (GimpEnumComboBox *combo_box,
*
* Sets a filter on the combo_box that selectively hides items. The
* registered callback @func is called with an iter for each item and
* returns %TRUE or %FALSE indicating whether the respective row
* must return %TRUE or %FALSE indicating whether the respective row
* should be visible or not.
*
* This function must only be called once for a @combo_box. If you
......
......@@ -299,10 +299,11 @@ gimp_enum_store_lookup_by_value (GtkTreeModel *model,
}
/**
* gimp_enum_store_lookup_by_value:
* gimp_enum_store_set_icons:
* @store: a #GimpEnumStore
* @widget: the widget used to create the icon pixbufs
* @stock_prefix: a prefix to create icon stock ID from enum values
* @size: the size to create the icons in
*
* Creates a stock ID for each enum value in the @store by appending
* the value's nick to the given @stock_prefix inserting a hyphen
......
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