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:
Jasper St. Pierre 2012-03-09 20:30:20 -05:00
parent c856cbb523
commit fb4878bb7c

View File

@ -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);