Commit fe372ddf authored by Pavel Holejsovsky's avatar Pavel Holejsovsky

[GI] Add missing (allow-none) annotations

parent 6d5cdad5
......@@ -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,
......
......@@ -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.
......
......@@ -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.
*
......
......@@ -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
*
......
......@@ -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.
*
......
......@@ -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,
......
......@@ -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
*
......
......@@ -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.
*
......
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