Commit 3d888990 authored by Philip Withnall's avatar Philip Withnall

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.
parent e160befd
......@@ -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
* 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.
*/
GtkBitmask *
......
......@@ -3338,7 +3338,7 @@ gtk_list_box_update_row_styles (GtkListBox *box)
/**
* gtk_list_box_row_set_activatable:
* @row: a #GTkListBoxrow
* @row: a #GtkListBoxRow
* @activatable: %TRUE to mark the row as activatable
*
* Set the #GtkListBoxRow:activatable property for this row.
......
......@@ -172,6 +172,7 @@ typedef void (*GtkListBoxUpdateHeaderFunc) (GtkListBoxRow *row,
/**
* GtkListBoxCreateWidgetFunc:
* @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
* gtk_list_box_bind_model() for each item that gets added to the model.
......
......@@ -42,7 +42,7 @@
*
* GtkModelButton is a button class that can use a #GAction as its model.
* 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
* action it is backed by, and appear either as a plain, check or
* radio button.
......
......@@ -922,7 +922,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
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
* setting, mapping color names to #GdkColors.
......
......@@ -75,7 +75,7 @@ find_first_manifest (HMODULE module_handle,
return TRUE;
}
/**
/*
* 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),
* uses it to create a process-default activation context, activates that
......
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