From 28266a59ed9082fbf5ce453a498b61e833644786 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 19 Mar 2012 14:57:46 +0000 Subject: [PATCH] docs: Fixes for the API reference --- clutter/clutter-event.h | 9 ++++----- doc/reference/clutter/clutter-sections.txt | 5 +++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/clutter/clutter-event.h b/clutter/clutter-event.h index cf8d1a21c..cb96257db 100644 --- a/clutter/clutter-event.h +++ b/clutter/clutter-event.h @@ -341,11 +341,11 @@ struct _ClutterStageStateEvent * @source: event source actor (unused) * @x: the X coordinate of the pointer, relative to the stage * @y: the Y coordinate of the pointer, relative to the stage - * @axes: @x and @y, translated to the axes of @device, or %NULL - * @state: (type ClutterModifierType): a bit-mask representing the state + * @sequence: the event sequence that this event belongs to + * @modifier_state: (type ClutterModifierType): a bit-mask representing the state * of modifier keys (e.g. Control, Shift, and Alt) and the pointer * buttons. See #ClutterModifierType - * @sequence: the event sequence that this event belongs to + * @axes: reserved * @device: the device that originated the event * * Used for touch events. @@ -373,10 +373,9 @@ struct _ClutterTouchEvent gfloat x; gfloat y; - guint state; ClutterEventSequence *sequence; ClutterModifierType modifier_state; - gdouble *axes; + gdouble *axes; /* reserved */ ClutterInputDevice *device; }; diff --git a/doc/reference/clutter/clutter-sections.txt b/doc/reference/clutter/clutter-sections.txt index 87f166ef4..f362b5b0f 100644 --- a/doc/reference/clutter/clutter-sections.txt +++ b/doc/reference/clutter/clutter-sections.txt @@ -1123,6 +1123,8 @@ ClutterMotionEvent ClutterScrollEvent ClutterStageStateEvent ClutterCrossingEvent +ClutterTouchEvent +ClutterEventSequence clutter_event_new clutter_event_copy clutter_event_free @@ -1142,6 +1144,7 @@ clutter_event_get_stage clutter_event_set_flags clutter_event_get_flags clutter_event_get_axes +clutter_event_get_event_sequence clutter_event_get @@ -1174,6 +1177,8 @@ clutter_event_get_related clutter_event_set_scroll_direction clutter_event_get_scroll_direction +clutter_event_get_scroll_delta +clutter_event_set_scroll_delta clutter_event_set_device