From: Rico Tzschichholz Date: Sun, 15 Sep 2019 15:54:52 +0000 (+0200) Subject: gtk: Fix some g-i annotation warnings X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~847 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=97231ca231f4fcd84a5dd61f1eec1d7e2c5b703d;p=gtk4.git gtk: Fix some g-i annotation warnings --- diff --git a/gtk/gtkbuilderparser.c b/gtk/gtkbuilderparser.c index b2a23c1aba..954a06b772 100644 --- a/gtk/gtkbuilderparser.c +++ b/gtk/gtkbuilderparser.c @@ -321,7 +321,7 @@ gtk_buildable_parse_context_get_element (GtkBuildableParseContext *context) * would merely return the name of the element that is being * processed. * - * Returns: the element stack, which must not be modified + * Returns: (transfer none) (element-type utf8): the element stack, which must not be modified */ GPtrArray * gtk_buildable_parse_context_get_element_stack (GtkBuildableParseContext *context) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 16ca45c106..1c1fbee79c 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -3584,11 +3584,11 @@ gtk_entry_set_extra_menu (GtkEntry *entry, /** * gtk_entry_get_extra_menu: - * @self: a #GtkText + * @entry: a #GtkEntry * * Gets the menu model set with gtk_entry_set_extra_menu(). * - * Returns: (transfer none): (nullable): the menu model + * Returns: (transfer none) (nullable): the menu model */ GMenuModel * gtk_entry_get_extra_menu (GtkEntry *entry) diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 88dfae901d..aa39d9b9ba 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -2747,7 +2747,6 @@ gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column, /** * gtk_tree_view_column_cell_get_size: * @tree_column: A #GtkTreeViewColumn. - * @cell_area: (allow-none): The area a cell in the column will be allocated, or %NULL * @x_offset: (out) (optional): location to return x offset of a cell relative to @cell_area, or %NULL * @y_offset: (out) (optional): location to return y offset of a cell relative to @cell_area, or %NULL * @width: (out) (optional): location to return width needed to render a cell, or %NULL