[gtk] gtk: Fix some g-i annotation warnings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] gtk: Fix some g-i annotation warnings
- Date: Sun, 15 Sep 2019 15:59:24 +0000 (UTC)
commit 97231ca231f4fcd84a5dd61f1eec1d7e2c5b703d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Sep 15 17:54:52 2019 +0200
gtk: Fix some g-i annotation warnings
gtk/gtkbuilderparser.c | 2 +-
gtk/gtkentry.c | 4 ++--
gtk/gtktreeviewcolumn.c | 1 -
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]