Commit caef6d0d authored by Michael Natterer's avatar Michael Natterer

libgimp*: various doc fixes

parent 60a50096
......@@ -305,7 +305,8 @@ gimp_color_config_class_init (GimpColorConfigClass *klass)
GIMP_CONFIG_PROP_STRING (object_class, PROP_DISPLAY_MODULE,
"display-module",
NULL, NULL,
"Display module",
"This property is deprecated and its value ignored",
"CdisplayLcms",
GIMP_PARAM_STATIC_STRINGS);
......
......@@ -446,7 +446,7 @@ gimp_file_new_for_config_path (const gchar *path,
}
/**
* gimp_file_new_for_config_path:
* gimp_file_get_config_path:
* @file: a #GFile
* @error: return location for errors
*
......
......@@ -867,11 +867,11 @@ gimp_matrix3_is_simple (const GimpMatrix3 *matrix)
/**
* gimp_matrix3_will_explode:
* @m: The matrix that is to be tested.
* @u1: The rectangle's left coordinate.
* @v1: The rectangle's top coordinate.
* @u2: The rectangle's right coordinate.
* @v2: The rectangle's bottom coordinate.
* @matrix: The matrix that is to be tested.
* @u1: The rectangle's left coordinate.
* @v1: The rectangle's top coordinate.
* @u2: The rectangle's right coordinate.
* @v2: The rectangle's bottom coordinate.
*
* Checks if the given transformation maps a point of the rectangle to
* infinity, or something equally stupid.
......@@ -881,15 +881,15 @@ gimp_matrix3_is_simple (const GimpMatrix3 *matrix)
* Since: 2.10
*/
gboolean
gimp_matrix3_will_explode (const GimpMatrix3 *m,
gimp_matrix3_will_explode (const GimpMatrix3 *matrix,
gdouble u1,
gdouble v1,
gdouble u2,
gdouble v2)
{
const gdouble a = m->coeff[2][0];
const gdouble b = m->coeff[2][1];
const gdouble c = m->coeff[2][2];
const gdouble a = matrix->coeff[2][0];
const gdouble b = matrix->coeff[2][1];
const gdouble c = matrix->coeff[2][2];
const gdouble d1 = a * u1 + b * v1 + c;
const gdouble d2 = a * u1 + b * v2 + c;
const gdouble d3 = a * u2 + b * v1 + c;
......
......@@ -677,7 +677,7 @@ gimp_color_button_new (const gchar *title,
/**
* gimp_color_button_set_title:
* @button: a #GimpColorButton.
* @color: the new title.
* @title: the new title.
*
* Sets the @button dialog's title.
*
......
......@@ -1349,7 +1349,7 @@ gimp_prop_hscale_new (GObject *config,
* @step_increment: Step size.
* @page_increment: Page size.
* @digits: Number of digits after decimal point to display.
* @scale_limits: %FALSE if the range of possible values of the
* @limit_scale: %FALSE if the range of possible values of the
* GtkHScale should be the same as of the GtkSpinButton.
* @lower_limit: The scale's lower boundary if @scale_limits is %TRUE.
* @upper_limit: The scale's upper boundary if @scale_limits is %TRUE.
......
......@@ -93,7 +93,7 @@ GtkWidget * gimp_prop_enum_stock_box_new (GObject *config,
GtkWidget * gimp_prop_enum_icon_box_new (GObject *config,
const gchar *property_name,
const gchar *stock_prefix,
const gchar *icon_prefix,
gint minimum,
gint maximum);
......
......@@ -253,8 +253,9 @@ gimp_string_model_lookup (GtkTreeModel *model,
/**
* gimp_string_combo_box_new:
* @id_column:
* @label_column:
* @model: a #GtkTreeModel
* @id_column: the model column of the ID
* @label_column: the modl column of the label
*
* Return value: a new #GimpStringComboBox.
*
......
......@@ -97,7 +97,7 @@ typedef enum
* @GIMP_COLOR_SELECTOR_BLUE: the blue channel
* @GIMP_COLOR_SELECTOR_ALPHA: the alpha channel
* @GIMP_COLOR_SELECTOR_LCH_LIGHTNESS: the lightness channel
* @GIMP_COLOR_SELECTOR_LCH_CHOMA: the chroma channel
* @GIMP_COLOR_SELECTOR_LCH_CHROMA: the chroma channel
* @GIMP_COLOR_SELECTOR_LCH_HUE: the hue channel
*
* An enum to specify the types of color channels edited in
......
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