diff options
-rw-r--r-- | gtk/gtkaction.c | 4 | ||||
-rw-r--r-- | gtk/gtkicontheme.c | 8 | ||||
-rw-r--r-- | gtk/gtkradioaction.c | 4 | ||||
-rw-r--r-- | gtk/gtkrecentaction.c | 8 | ||||
-rw-r--r-- | gtk/gtkscale.c | 4 | ||||
-rw-r--r-- | gtk/gtktoggleaction.c | 4 | ||||
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 2 | ||||
-rw-r--r-- | gtk/gtkwindow.c | 2 |
8 files changed, 18 insertions, 18 deletions
diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c index 64b94bfd9d..5514c25e72 100644 --- a/gtk/gtkaction.c +++ b/gtk/gtkaction.c @@ -508,8 +508,8 @@ gtk_action_buildable_get_name (GtkBuildable *buildable) * @name: A unique name for the action * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL * @tooltip: (allow-none): a tooltip for the action, or %NULL - * @stock_id: the stock icon to display in widgets representing the - * action, or %NULL + * @stock_id: (allow-none): the stock icon to display in widgets representing + * the action, or %NULL * * Creates a new #GtkAction object. To add the action to a * #GtkActionGroup and set the accelerator for the action, diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 442944ed64..9035510b72 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -837,8 +837,8 @@ gtk_icon_theme_prepend_search_path (GtkIconTheme *icon_theme, /** * gtk_icon_theme_set_custom_theme: * @icon_theme: a #GtkIconTheme - * @theme_name: name of icon theme to use instead of configured theme, - * or %NULL to unset a previously set custom theme + * @theme_name: (allow-none): name of icon theme to use instead of + * configured theme, or %NULL to unset a previously set custom theme * * Sets the name of the icon theme that the #GtkIconTheme object uses * overriding system configuration. This function cannot be called @@ -1722,8 +1722,8 @@ add_key_to_list (gpointer key, /** * gtk_icon_theme_list_icons: * @icon_theme: a #GtkIconTheme - * @context: a string identifying a particular type of icon, - * or %NULL to list all icons. + * @context: (allow-none): a string identifying a particular type of + * icon, or %NULL to list all icons. * * Lists the icons in the current icon theme. Only a subset * of the icons can be listed by providing a context string. diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c index 47cb3f4c5c..a71c0d5bde 100644 --- a/gtk/gtkradioaction.c +++ b/gtk/gtkradioaction.c @@ -195,8 +195,8 @@ gtk_radio_action_init (GtkRadioAction *action) * @name: A unique name for the action * @label: (allow-none): The label displayed in menu items and on buttons, or %NULL * @tooltip: (allow-none): A tooltip for this action, or %NULL - * @stock_id: The stock icon to display in widgets representing this - * action, or %NULL + * @stock_id: (allow-none): The stock icon to display in widgets representing + * this action, or %NULL * @value: The value which gtk_radio_action_get_current_value() should * return if this action is selected. * diff --git a/gtk/gtkrecentaction.c b/gtk/gtkrecentaction.c index 5d73594899..015cf9b080 100644 --- a/gtk/gtkrecentaction.c +++ b/gtk/gtkrecentaction.c @@ -672,8 +672,8 @@ gtk_recent_action_init (GtkRecentAction *action) * @name: a unique name for the action * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL * @tooltip: (allow-none): a tooltip for the action, or %NULL - * @stock_id: the stock icon to display in widgets representing the - * action, or %NULL + * @stock_id: (allow-none): the stock icon to display in widgets representing + * the action, or %NULL * * Creates a new #GtkRecentAction object. To add the action to * a #GtkActionGroup and set the accelerator for the action, @@ -704,8 +704,8 @@ gtk_recent_action_new (const gchar *name, * @name: a unique name for the action * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL * @tooltip: (allow-none): a tooltip for the action, or %NULL - * @stock_id: the stock icon to display in widgets representing the - * action, or %NULL + * @stock_id: (allow-none): the stock icon to display in widgets representing + * the action, or %NULL * @manager: (allow-none): a #GtkRecentManager, or %NULL for using the default * #GtkRecentManager * diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index 486e64722e..a44dd9e1da 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -510,8 +510,8 @@ gtk_scale_get_property (GObject *object, /** * gtk_scale_new: * @orientation: the scale's orientation. - * @adjustment: the #GtkAdjustment which sets the range of the scale, or - * %NULL to create a new adjustment. + * @adjustment: (allow-none): the #GtkAdjustment which sets the range + * of the scale, or %NULL to create a new adjustment. * * Creates a new #GtkScale. * diff --git a/gtk/gtktoggleaction.c b/gtk/gtktoggleaction.c index 525d462af0..9dcc83d1e0 100644 --- a/gtk/gtktoggleaction.c +++ b/gtk/gtktoggleaction.c @@ -168,8 +168,8 @@ gtk_toggle_action_init (GtkToggleAction *action) * @name: A unique name for the action * @label: (allow-none): The label displayed in menu items and on buttons, or %NULL * @tooltip: (allow-none): A tooltip for the action, or %NULL - * @stock_id: The stock icon to display in widgets representing the - * action, or %NULL + * @stock_id: (allow-none): The stock icon to display in widgets representing + * the action, or %NULL * * Creates a new #GtkToggleAction object. To add the action to * a #GtkActionGroup and set the accelerator for the action, diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index eebcf5ecdc..370eb8ab95 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -1770,7 +1770,7 @@ gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column, * gtk_tree_view_column_set_cell_data_func: * @tree_column: A #GtkTreeViewColumn * @cell_renderer: A #GtkCellRenderer - * @func: The #GtkTreeViewColumnFunc to use. + * @func: (allow-none): The #GtkTreeViewColumnFunc to use. * @func_data: The user data for @func. * @destroy: The destroy notification for @func_data * diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 55a9d25691..c16fffbbe3 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -2629,7 +2629,7 @@ gtk_window_release_application (GtkWindow *window) /** * gtk_window_set_application: * @window: a #GtkWindow - * @application: a #GtkApplication, or %NULL + * @application: (allow-none): a #GtkApplication, or %NULL * * Sets or unsets the #GtkApplication associated with the window. * |