st-widget: Correct annotations for navigate_focus vfunc
Since the invoker for navigate_focus has an extra parameter, annotations from the invoker aren't applied on the vfunc itself. Fix that by annotating the vfunc separately.
This commit is contained in:
parent
c856cbb523
commit
fb4878bb7c
@ -76,6 +76,13 @@ struct _StWidgetClass
|
||||
void (* popup_menu) (StWidget *self);
|
||||
|
||||
/* vfuncs */
|
||||
|
||||
/**
|
||||
* StWidgetClass::navigate_focus
|
||||
* @self: the "top level" container
|
||||
* @from: (allow-none): the actor that the focus is coming from
|
||||
* @direction: the direction focus is moving in
|
||||
*/
|
||||
gboolean (* navigate_focus) (StWidget *self,
|
||||
ClutterActor *from,
|
||||
GtkDirectionType direction);
|
||||
|
Loading…
Reference in New Issue
Block a user