[gnome-shell] st-widget: Correct annotations for navigate_focus vfunc



commit fb4878bb7c1ef86167b12fa8dc71a2601a7759e8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Mar 9 20:30:20 2012 -0500

    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 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-widget.h b/src/st/st-widget.h
index 90c3bbe..3dd4519 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]