summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-09-15 17:54:52 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-09-15 17:57:28 +0200
commit97231ca231f4fcd84a5dd61f1eec1d7e2c5b703d (patch)
tree6bfb963a6cb346e29650b71f987fbddda35769cf
parent67bd28eaafa3be852b15904dbf890b1151524800 (diff)
downloadgtk+-97231ca231f4fcd84a5dd61f1eec1d7e2c5b703d.tar.gz
gtk: Fix some g-i annotation warnings
-rw-r--r--gtk/gtkbuilderparser.c2
-rw-r--r--gtk/gtkentry.c4
-rw-r--r--gtk/gtktreeviewcolumn.c1
3 files changed, 3 insertions, 4 deletions
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