gtk: Fix various tiny typos in documentation comments

e.g. Invalid syntax in introspection annotations, typos in object names,
accidentally using a gtk-doc comment for an internal function.
This commit is contained in:
Philip Withnall 2015-02-18 10:57:05 +00:00
parent e160befdf8
commit 3d88899072
6 changed files with 6 additions and 5 deletions

View File

@ -401,7 +401,7 @@ _gtk_css_style_property_get_initial_value (GtkCssStyleProperty *property)
* Computes a bitmask for all properties that have at least one of @flags * Computes a bitmask for all properties that have at least one of @flags
* set. * set.
* *
* Returns: (transfer: full): A #GtkBitmask with the bit set for every * Returns: (transfer full): A #GtkBitmask with the bit set for every
* property that has at least one of @flags set. * property that has at least one of @flags set.
*/ */
GtkBitmask * GtkBitmask *

View File

@ -3338,7 +3338,7 @@ gtk_list_box_update_row_styles (GtkListBox *box)
/** /**
* gtk_list_box_row_set_activatable: * gtk_list_box_row_set_activatable:
* @row: a #GTkListBoxrow * @row: a #GtkListBoxRow
* @activatable: %TRUE to mark the row as activatable * @activatable: %TRUE to mark the row as activatable
* *
* Set the #GtkListBoxRow:activatable property for this row. * Set the #GtkListBoxRow:activatable property for this row.

View File

@ -172,6 +172,7 @@ typedef void (*GtkListBoxUpdateHeaderFunc) (GtkListBoxRow *row,
/** /**
* GtkListBoxCreateWidgetFunc: * GtkListBoxCreateWidgetFunc:
* @item: the item from the model for which to create a widget for * @item: the item from the model for which to create a widget for
* @user_data: (closure): user data
* *
* Called for list boxes that are bound to a #GListModel with * Called for list boxes that are bound to a #GListModel with
* gtk_list_box_bind_model() for each item that gets added to the model. * gtk_list_box_bind_model() for each item that gets added to the model.

View File

@ -42,7 +42,7 @@
* *
* GtkModelButton is a button class that can use a #GAction as its model. * GtkModelButton is a button class that can use a #GAction as its model.
* In contrast to #GtkToggleButton or #GtkRadioButton, which can also * In contrast to #GtkToggleButton or #GtkRadioButton, which can also
* be backed by a #Gaction via the #GtkActionable:action-name property, * be backed by a #GAction via the #GtkActionable:action-name property,
* GtkModelButton will adapt its appearance according to the kind of * GtkModelButton will adapt its appearance according to the kind of
* action it is backed by, and appear either as a plain, check or * action it is backed by, and appear either as a plain, check or
* radio button. * radio button.

View File

@ -922,7 +922,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
g_assert (result == PROP_ERROR_BELL); g_assert (result == PROP_ERROR_BELL);
/** /**
* GtkSettings:color-hash: (element-type utf8 Gdk.Color): * GtkSettings:color-hash: (element-type utf8 Gdk.Color)
* *
* Holds a hash table representation of the #GtkSettings:gtk-color-scheme * Holds a hash table representation of the #GtkSettings:gtk-color-scheme
* setting, mapping color names to #GdkColors. * setting, mapping color names to #GdkColors.

View File

@ -75,7 +75,7 @@ find_first_manifest (HMODULE module_handle,
return TRUE; return TRUE;
} }
/** /*
* Grabs the first manifest it finds in libgtk3 (which is expected to be the * Grabs the first manifest it finds in libgtk3 (which is expected to be the
* common-controls-6.0.0.0 manifest we embedded to enable visual styles), * common-controls-6.0.0.0 manifest we embedded to enable visual styles),
* uses it to create a process-default activation context, activates that * uses it to create a process-default activation context, activates that