[GI] Add missing (allow-none) annotations

This commit is contained in:
Pavel Holejsovsky
2011-01-18 09:25:47 +01:00
parent 6d5cdad56e
commit fe372ddf5e
8 changed files with 18 additions and 18 deletions

View File

@ -508,8 +508,8 @@ gtk_action_buildable_get_name (GtkBuildable *buildable)
* @name: A unique name for the action * @name: A unique name for the action
* @label: (allow-none): the label displayed in menu items and on buttons, or %NULL * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL
* @tooltip: (allow-none): a tooltip for the action, or %NULL * @tooltip: (allow-none): a tooltip for the action, or %NULL
* @stock_id: the stock icon to display in widgets representing the * @stock_id: (allow-none): the stock icon to display in widgets representing
* action, or %NULL * the action, or %NULL
* *
* Creates a new #GtkAction object. To add the action to a * Creates a new #GtkAction object. To add the action to a
* #GtkActionGroup and set the accelerator for the action, * #GtkActionGroup and set the accelerator for the action,

View File

@ -837,8 +837,8 @@ gtk_icon_theme_prepend_search_path (GtkIconTheme *icon_theme,
/** /**
* gtk_icon_theme_set_custom_theme: * gtk_icon_theme_set_custom_theme:
* @icon_theme: a #GtkIconTheme * @icon_theme: a #GtkIconTheme
* @theme_name: name of icon theme to use instead of configured theme, * @theme_name: (allow-none): name of icon theme to use instead of
* or %NULL to unset a previously set custom theme * configured theme, or %NULL to unset a previously set custom theme
* *
* Sets the name of the icon theme that the #GtkIconTheme object uses * Sets the name of the icon theme that the #GtkIconTheme object uses
* overriding system configuration. This function cannot be called * overriding system configuration. This function cannot be called
@ -1722,8 +1722,8 @@ add_key_to_list (gpointer key,
/** /**
* gtk_icon_theme_list_icons: * gtk_icon_theme_list_icons:
* @icon_theme: a #GtkIconTheme * @icon_theme: a #GtkIconTheme
* @context: a string identifying a particular type of icon, * @context: (allow-none): a string identifying a particular type of
* or %NULL to list all icons. * icon, or %NULL to list all icons.
* *
* Lists the icons in the current icon theme. Only a subset * Lists the icons in the current icon theme. Only a subset
* of the icons can be listed by providing a context string. * of the icons can be listed by providing a context string.

View File

@ -195,8 +195,8 @@ gtk_radio_action_init (GtkRadioAction *action)
* @name: A unique name for the action * @name: A unique name for the action
* @label: (allow-none): The label displayed in menu items and on buttons, or %NULL * @label: (allow-none): The label displayed in menu items and on buttons, or %NULL
* @tooltip: (allow-none): A tooltip for this action, or %NULL * @tooltip: (allow-none): A tooltip for this action, or %NULL
* @stock_id: The stock icon to display in widgets representing this * @stock_id: (allow-none): The stock icon to display in widgets representing
* action, or %NULL * this action, or %NULL
* @value: The value which gtk_radio_action_get_current_value() should * @value: The value which gtk_radio_action_get_current_value() should
* return if this action is selected. * return if this action is selected.
* *

View File

@ -672,8 +672,8 @@ gtk_recent_action_init (GtkRecentAction *action)
* @name: a unique name for the action * @name: a unique name for the action
* @label: (allow-none): the label displayed in menu items and on buttons, or %NULL * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL
* @tooltip: (allow-none): a tooltip for the action, or %NULL * @tooltip: (allow-none): a tooltip for the action, or %NULL
* @stock_id: the stock icon to display in widgets representing the * @stock_id: (allow-none): the stock icon to display in widgets representing
* action, or %NULL * the action, or %NULL
* *
* Creates a new #GtkRecentAction object. To add the action to * Creates a new #GtkRecentAction object. To add the action to
* a #GtkActionGroup and set the accelerator for the action, * 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 * @name: a unique name for the action
* @label: (allow-none): the label displayed in menu items and on buttons, or %NULL * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL
* @tooltip: (allow-none): a tooltip for the action, or %NULL * @tooltip: (allow-none): a tooltip for the action, or %NULL
* @stock_id: the stock icon to display in widgets representing the * @stock_id: (allow-none): the stock icon to display in widgets representing
* action, or %NULL * the action, or %NULL
* @manager: (allow-none): a #GtkRecentManager, or %NULL for using the default * @manager: (allow-none): a #GtkRecentManager, or %NULL for using the default
* #GtkRecentManager * #GtkRecentManager
* *

View File

@ -510,8 +510,8 @@ gtk_scale_get_property (GObject *object,
/** /**
* gtk_scale_new: * gtk_scale_new:
* @orientation: the scale's orientation. * @orientation: the scale's orientation.
* @adjustment: the #GtkAdjustment which sets the range of the scale, or * @adjustment: (allow-none): the #GtkAdjustment which sets the range
* %NULL to create a new adjustment. * of the scale, or %NULL to create a new adjustment.
* *
* Creates a new #GtkScale. * Creates a new #GtkScale.
* *

View File

@ -168,8 +168,8 @@ gtk_toggle_action_init (GtkToggleAction *action)
* @name: A unique name for the action * @name: A unique name for the action
* @label: (allow-none): The label displayed in menu items and on buttons, or %NULL * @label: (allow-none): The label displayed in menu items and on buttons, or %NULL
* @tooltip: (allow-none): A tooltip for the action, or %NULL * @tooltip: (allow-none): A tooltip for the action, or %NULL
* @stock_id: The stock icon to display in widgets representing the * @stock_id: (allow-none): The stock icon to display in widgets representing
* action, or %NULL * the action, or %NULL
* *
* Creates a new #GtkToggleAction object. To add the action to * Creates a new #GtkToggleAction object. To add the action to
* a #GtkActionGroup and set the accelerator for the action, * a #GtkActionGroup and set the accelerator for the action,

View File

@ -1770,7 +1770,7 @@ gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column,
* gtk_tree_view_column_set_cell_data_func: * gtk_tree_view_column_set_cell_data_func:
* @tree_column: A #GtkTreeViewColumn * @tree_column: A #GtkTreeViewColumn
* @cell_renderer: A #GtkCellRenderer * @cell_renderer: A #GtkCellRenderer
* @func: The #GtkTreeViewColumnFunc to use. * @func: (allow-none): The #GtkTreeViewColumnFunc to use.
* @func_data: The user data for @func. * @func_data: The user data for @func.
* @destroy: The destroy notification for @func_data * @destroy: The destroy notification for @func_data
* *

View File

@ -2629,7 +2629,7 @@ gtk_window_release_application (GtkWindow *window)
/** /**
* gtk_window_set_application: * gtk_window_set_application:
* @window: a #GtkWindow * @window: a #GtkWindow
* @application: a #GtkApplication, or %NULL * @application: (allow-none): a #GtkApplication, or %NULL
* *
* Sets or unsets the #GtkApplication associated with the window. * Sets or unsets the #GtkApplication associated with the window.
* *