[gtk/ebassi/for-master: 1/3] Fix annotations




commit 3d2cf97fbf524a3a44099497006d1ac2163c3d7c
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jan 26 12:54:00 2021 +0000

    Fix annotations
    
    The arguments are really (inout), not (out).

 gdk/gdksurface.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c
index d0dbf52b85..52b45edfd1 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -2960,8 +2960,8 @@ gdk_surface_request_motion (GdkSurface *surface)
  * gdk_surface_translate_coordinates:
  * @from: the origin surface
  * @to: the target surface
- * @x: (out): coordinates to translate
- * @y: (out): coordinates to translate
+ * @x: (inout): coordinates to translate
+ * @y: (inout): coordinates to translate
  *
  * Translates the given coordinates from being
  * relative to the @from surface to being relative


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]