diff options
author | Colin Walters <walters@verbum.org> | 2009-12-10 08:23:40 -0200 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2009-12-16 17:22:01 -0200 |
commit | 6529c07614ebfbfac73f526efb057d8a8e3a7354 (patch) | |
tree | 6470d8b8af29900905a07ff7838d180cec8fd36e /gtk/gtktoolbar.c | |
parent | b3c48a4501d77c15ae236f1fe4514cc02de187f3 (diff) | |
download | gtk+-6529c07614ebfbfac73f526efb057d8a8e3a7354.tar.gz |
[introspection] Merge in Gtk-custom.c annotations
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r-- | gtk/gtktoolbar.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index 70126ca2ab..b83790ccac 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -2253,11 +2253,11 @@ logical_to_physical (GtkToolbar *toolbar, /** * gtk_toolbar_set_drop_highlight_item: * @toolbar: a #GtkToolbar - * @tool_item: a #GtkToolItem, or %NULL to turn of highlighting + * @tool_item: (allow-none): a #GtkToolItem, or %NULL to turn of highlighting * @index_: a position on @toolbar - * + * * Highlights @toolbar to give an idea of what it would look like - * if @item was added to @toolbar at the position indicated by @index_. + * if @item was added to @toolbar at the position indicated by @index_. * If @item is %NULL, highlighting is turned off. In that case @index_ * is ignored. * @@ -3518,9 +3518,9 @@ gtk_toolbar_remove_space (GtkToolbar *toolbar, /** * gtk_toolbar_append_widget: * @toolbar: a #GtkToolbar. - * @widget: a #GtkWidget to add to the toolbar. - * @tooltip_text: the element's tooltip. - * @tooltip_private_text: used for context-sensitive help about this toolbar element. + * @widget: a #GtkWidget to add to the toolbar. + * @tooltip_text: (allow-none): the element's tooltip. + * @tooltip_private_text: (allow-none): used for context-sensitive help about this toolbar element. * * Adds a widget to the end of the given toolbar. * @@ -3542,9 +3542,9 @@ gtk_toolbar_append_widget (GtkToolbar *toolbar, /** * gtk_toolbar_prepend_widget: * @toolbar: a #GtkToolbar. - * @widget: a #GtkWidget to add to the toolbar. - * @tooltip_text: the element's tooltip. - * @tooltip_private_text: used for context-sensitive help about this toolbar element. + * @widget: a #GtkWidget to add to the toolbar. + * @tooltip_text: (allow-none): the element's tooltip. + * @tooltip_private_text: (allow-none): used for context-sensitive help about this toolbar element. * * Adds a widget to the beginning of the given toolbar. * @@ -3566,11 +3566,11 @@ gtk_toolbar_prepend_widget (GtkToolbar *toolbar, /** * gtk_toolbar_insert_widget: * @toolbar: a #GtkToolbar. - * @widget: a #GtkWidget to add to the toolbar. - * @tooltip_text: the element's tooltip. - * @tooltip_private_text: used for context-sensitive help about this toolbar element. + * @widget: a #GtkWidget to add to the toolbar. + * @tooltip_text: (allow-none): the element's tooltip. + * @tooltip_private_text: (allow-none): used for context-sensitive help about this toolbar element. * @position: the number of widgets to insert this widget after. - * + * * Inserts a widget in the toolbar at the given position. * * Deprecated: 2.4: Use gtk_toolbar_insert() instead. |