[mutter] Fix use of (closure) annotation



commit 7d58524185b78ac7a9ecd23025c9518c24782bfe
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Fri Sep 24 11:26:36 2010 -0400

    Fix use of (closure) annotation
    
    For functions (but not callback types), '(closure)' is used on the
    callback parameter, and takes the name of the parameter which is
    the closure/user data.

 src/core/window.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index b2aa4f1..9db0131 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -8692,8 +8692,8 @@ meta_window_refresh_resize_popup (MetaWindow *window)
 /**
  * meta_window_foreach_transient:
  * @window: a #MetaWindow
- * @func: (scope call): Called for each window which is a transient of @window (transitively)
- * @user_data: (closure): User data
+ * @func: (scope call) (closure user_data): Called for each window which is a transient of @window (transitively)
+ * @user_data: User data
  *
  * Call @func for every window which is either transient for @window, or is
  * a transient of a window which is in turn transient for @window.
@@ -8731,8 +8731,8 @@ meta_window_foreach_transient (MetaWindow            *window,
 /**
  * meta_window_foreach_ancestor:
  * @window: a #MetaWindow
- * @func: (scope call): Called for each window which is a transient parent of @window
- * @user_data: (closure): User data
+ * @func: (scope call) (closure user_data): Called for each window which is a transient parent of @window
+ * @user_data: User data
  *
  * If @window is transient, call @func with the window for which it's transient,
  * repeatedly until either we find a non-transient window, or @func returns %FALSE.



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