[gtk+/gtk-2-22] [gdkevents] Add annotations for GdkEvent getters.
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] [gdkevents] Add annotations for GdkEvent getters.
- Date: Mon, 7 Jun 2010 22:06:29 +0000 (UTC)
commit d3adde0116fed1054ad2c7420df49a774325dcf0
Author: Steve Frécinaux <code istique net>
Date: Mon Jun 7 23:47:14 2010 +0200
[gdkevents] Add annotations for GdkEvent getters.
gdk/gdkevents.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 089b4e7..12a0cca 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -645,7 +645,7 @@ gdk_event_get_time (const GdkEvent *event)
/**
* gdk_event_get_state:
* @event: a #GdkEvent or NULL
- * @state: return location for state
+ * @state: (out): return location for state
*
* If the event contains a "state" field, puts that field in @state. Otherwise
* stores an empty state (0). Returns %TRUE if there was a state field
@@ -725,8 +725,8 @@ gdk_event_get_state (const GdkEvent *event,
/**
* gdk_event_get_coords:
* @event: a #GdkEvent
- * @x_win: location to put event window x coordinate
- * @y_win: location to put event window y coordinate
+ * @x_win: (out): location to put event window x coordinate
+ * @y_win: (out): location to put event window y coordinate
*
* Extract the event window relative x/y coordinates from an event.
*
@@ -784,8 +784,8 @@ gdk_event_get_coords (const GdkEvent *event,
/**
* gdk_event_get_root_coords:
* @event: a #GdkEvent
- * @x_root: location to put root window x coordinate
- * @y_root: location to put root window y coordinate
+ * @x_root: (out): location to put root window x coordinate
+ * @y_root: (out): location to put root window y coordinate
*
* Extract the root window relative x/y coordinates from an event.
*
@@ -848,8 +848,8 @@ gdk_event_get_root_coords (const GdkEvent *event,
/**
* gdk_event_get_axis:
* @event: a #GdkEvent
- * @axis_use: the axis use to look for
- * @value: location to store the value found
+ * @axis_use: (out): the axis use to look for
+ * @value: (out): location to store the value found
*
* Extract the axis value for a particular axis use from
* an event structure.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]