flowbox: Fix annotation for GListModel binding callback
The GtkFlowBoxCreateWidgetFunc type lacked GObject Introspection annotations for its arguments. This made gtk_flow_box_bind_model() unusable from Python as the callback function would be passed useless values. The annotations that I've added match those of the similar callback type GtkListBoxCreateWidgetFunc. https://bugzilla.gnome.org/show_bug.cgi?id=780758
This commit is contained in:
parent
a57630b30c
commit
d6547060e9
@ -101,8 +101,8 @@ struct _GtkFlowBoxChildClass
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkFlowBoxCreateWidgetFunc:
|
* GtkFlowBoxCreateWidgetFunc:
|
||||||
* @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: user data from gtk_flow_box_bind_model()
|
* @user_data: (closure): user data from gtk_flow_box_bind_model()
|
||||||
*
|
*
|
||||||
* Called for flow boxes that are bound to a #GListModel with
|
* Called for flow boxes that are bound to a #GListModel with
|
||||||
* gtk_flow_box_bind_model() for each item that gets added to the model.
|
* gtk_flow_box_bind_model() for each item that gets added to the model.
|
||||||
|
Loading…
Reference in New Issue
Block a user