kathenas / rpms / mutter

Forked from rpms/mutter 5 years ago
Clone
Blob Blame History Raw
From 527f6e642a0ece477ae3a2c43421ad4101e34c57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
Date: Fri, 14 Dec 2018 15:55:36 +0100
Subject: [PATCH 12/12] 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 4dd8bd6..c79d266 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)
-- 
2.19.2