[clutter] input-device: Fix introspection annotation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] input-device: Fix introspection annotation
- Date: Fri, 20 Jul 2012 01:58:15 +0000 (UTC)
commit 9b4f13c15a1b531696dd741f88142654f227f7f7
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Jul 17 17:41:04 2012 -0400
input-device: Fix introspection annotation
The event sequence can be %NULL.
clutter/clutter-input-device.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/clutter/clutter-input-device.c b/clutter/clutter-input-device.c
index ac29ee1..f4d137a 100644
--- a/clutter/clutter-input-device.c
+++ b/clutter/clutter-input-device.c
@@ -786,14 +786,16 @@ clutter_input_device_get_enabled (ClutterInputDevice *device)
/**
* clutter_input_device_get_coords:
* @device: a #ClutterInputDevice
- * @sequence: a #ClutterEventSequence
- * @point: (out): return location for the pointer or touch point
+ * @sequence: (allow-none): a #ClutterEventSequence, or %NULL if
+ * the device is not touch-based
+ * @point: (out caller-allocates): return location for the pointer
+ * or touch point
*
* Retrieves the latest coordinates of a pointer or touch point of
- * @device
+ * @device.
*
* Return value: %FALSE if the device's sequence hasn't been found,
- * %TRUE otherwise.
+ * and %TRUE otherwise.
*
* Since: 1.12
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]