From 9b4f13c15a1b531696dd741f88142654f227f7f7 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 17 Jul 2012 17:41:04 -0400 Subject: [PATCH] input-device: Fix introspection annotation The event sequence can be %NULL. --- clutter/clutter-input-device.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/clutter/clutter-input-device.c b/clutter/clutter-input-device.c index ac29ee1de..f4d137a53 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 */