[gtk+] gtk: Fix various tiny typos in documentation comments



commit 3d88899072362a01bbc3207da2138e405a6f0dba
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Feb 18 10:57:05 2015 +0000

    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.

 gtk/gtkcssstyleproperty.c |    2 +-
 gtk/gtklistbox.c          |    2 +-
 gtk/gtklistbox.h          |    1 +
 gtk/gtkmodelbutton.c      |    2 +-
 gtk/gtksettings.c         |    2 +-
 gtk/gtkwin32.c            |    2 +-
 6 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcssstyleproperty.c b/gtk/gtkcssstyleproperty.c
index 9f6dca2..3fe41c7 100644
--- a/gtk/gtkcssstyleproperty.c
+++ b/gtk/gtkcssstyleproperty.c
@@ -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 *
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index e358415..06ccaee 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -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.
diff --git a/gtk/gtklistbox.h b/gtk/gtklistbox.h
index ad6d851..4ff8383 100644
--- a/gtk/gtklistbox.h
+++ b/gtk/gtklistbox.h
@@ -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.
diff --git a/gtk/gtkmodelbutton.c b/gtk/gtkmodelbutton.c
index 2f3cfae..a3c62bc 100644
--- a/gtk/gtkmodelbutton.c
+++ b/gtk/gtkmodelbutton.c
@@ -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.
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index e509b30..3c9d037 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -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.
diff --git a/gtk/gtkwin32.c b/gtk/gtkwin32.c
index 15dbc14..4f1598e 100644
--- a/gtk/gtkwin32.c
+++ b/gtk/gtkwin32.c
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]