[gtk+/gestures] gesture: Introspection fixes
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gestures] gesture: Introspection fixes
- Date: Tue, 20 May 2014 12:11:49 +0000 (UTC)
commit e7b7b9d4ff9e5adae155f7d2c4f91551190c47a5
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue May 20 14:09:40 2014 +0200
gesture: Introspection fixes
Set annotations on return values for gtk_gesture_get_device() and
gtk_gesture_get_window().
gtk/gtkgesture.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index cc5e1f7..08dcff8 100644
--- a/gtk/gtkgesture.c
+++ b/gtk/gtkgesture.c
@@ -786,7 +786,7 @@ gtk_gesture_init (GtkGesture *gesture)
* Returns the master #GdkDevice that is currently operating
* on @gesture, or %NULL if the gesture is not being interacted.
*
- * Returns: a #GdkDevice, or %NULL
+ * Returns: (transfer none) (allow-none): a #GdkDevice, or %NULL
*
* Since: 3.14
**/
@@ -1301,7 +1301,7 @@ _gtk_gesture_cancel_sequence (GtkGesture *gesture,
* handled by @gesture. See gtk_gesture_set_window() for more
* information.
*
- * Returns: the user defined window, or %NULL if none
+ * Returns: (transfer none) (allow-none): the user defined window, or %NULL if none
*
* Since: 3.14
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]