From fb4878bb7c1ef86167b12fa8dc71a2601a7759e8 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 9 Mar 2012 20:30:20 -0500 Subject: [PATCH] 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. --- src/st/st-widget.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/st/st-widget.h b/src/st/st-widget.h index 90c3bbef2..3dd451952 100644 --- a/src/st/st-widget.h +++ b/src/st/st-widget.h @@ -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);