gtk: Fix some g-i annotation warnings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 15 Sep 2019 15:54:52 +0000 (17:54 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 15 Sep 2019 15:57:28 +0000 (17:57 +0200)
gtk/gtkbuilderparser.c
gtk/gtkentry.c
gtk/gtktreeviewcolumn.c

index b2a23c1aba39d4d91fa911069090b070710d8e9c..954a06b77230b82c664260273d0b94e61f68dbc3 100644 (file)
@@ -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)
index 16ca45c10616836b9d644b9bf3a0030226475148..1c1fbee79c88364fcc3c37ed00955869ff19d0ab 100644 (file)
@@ -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)
index 88dfae901d238e85f96b09fafde19fc0d28ecaf0..aa39d9b9baa9b31b2daeec2f8797a5ccd6f82638 100644 (file)
@@ -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