diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-04-05 08:13:24 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-04-05 08:13:24 -0400 |
commit | d94d2efc43e167bd222f7795fdd680da87a66016 (patch) | |
tree | 3150cdc4b6ca326a4a9db575ae2f969e456fd8f8 /gtk/gtklistbox.h | |
parent | 6b977e68702021f075eb17a8aaa15ec1ba50e7ff (diff) | |
download | gtk+-d94d2efc43e167bd222f7795fdd680da87a66016.tar.gz |
GtkListBox: Make model binding introspectable
Introspection can't deal with bare pointers, so annotate
the callback as taking objects. This is the outcome of
discussion in
https://bugzilla.gnome.org/show_bug.cgi?id=746893
Diffstat (limited to 'gtk/gtklistbox.h')
-rw-r--r-- | gtk/gtklistbox.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtklistbox.h b/gtk/gtklistbox.h index 4ff8383d79..a648ac8e5a 100644 --- a/gtk/gtklistbox.h +++ b/gtk/gtklistbox.h @@ -171,13 +171,13 @@ typedef void (*GtkListBoxUpdateHeaderFunc) (GtkListBoxRow *row, /** * GtkListBoxCreateWidgetFunc: - * @item: the item from the model for which to create a widget for + * @item: (type GObject): the item from the model for which to create a widget for * @user_data: (closure): user data * * Called for list boxes that are bound to a #GListModel with * gtk_list_box_bind_model() for each item that gets added to the model. * - * Returns: a #GtkWidget that represents @item + * Returns: (transfer full): a #GtkWidget that represents @item * * Since: 3.16 */ |