[mutter/wip/texture-purge-on-nvidia: 60/71] window: Fix introspection warnings



commit baf11d2471efb1c236c463ac1b32c32ab8c9df5b
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Fri Dec 14 15:55:36 2018 +0100

    window: Fix introspection warnings
    
    (transfer none) was added for fundamental types, which can't be
    transfered.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/356
    (cherry picked from commit 781ec74fd2bb505de7abde6e0641a62ab6ef728a)

 src/core/window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 4dd8bd649..c79d2663b 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -8475,7 +8475,7 @@ meta_window_is_stackable (MetaWindow *window)
  *
  * Returns the window id associated with window.
  *
- * Returns: (transfer none): The window id
+ * Returns: The window id
  */
 uint64_t
 meta_window_get_id (MetaWindow *window)
@@ -8489,7 +8489,7 @@ meta_window_get_id (MetaWindow *window)
  *
  * Returns the #MetaWindowClientType of the window.
  *
- * Returns: (transfer none): The root ancestor window
+ * Returns: The root ancestor window
  */
 MetaWindowClientType
 meta_window_get_client_type (MetaWindow *window)


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