[gtk/ebassi/for-master] Annotate the return type for GtkTreeExpander.get_item()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/for-master] Annotate the return type for GtkTreeExpander.get_item()
- Date: Tue, 17 Nov 2020 14:13:22 +0000 (UTC)
commit 4f12df5f1c188d8239db5c61802a124118ad6d7c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Nov 17 13:54:22 2020 +0000
Annotate the return type for GtkTreeExpander.get_item()
We use gpointer for C convenience, but the returned value is really a
GObject.
gtk/gtktreeexpander.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtktreeexpander.c b/gtk/gtktreeexpander.c
index 9b50e02039..5e1de3cf42 100644
--- a/gtk/gtktreeexpander.c
+++ b/gtk/gtktreeexpander.c
@@ -740,7 +740,7 @@ gtk_tree_expander_set_child (GtkTreeExpander *self,
* This call is essentially equivalent to calling
* `gtk_tree_list_row_get_item (gtk_tree_expander_get_list_row (@self))`.
*
- * Returns: (nullable) (transfer none): The item of the row
+ * Returns: (nullable) (transfer none) (type GObject): The item of the row
**/
gpointer
gtk_tree_expander_get_item (GtkTreeExpander *self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]