From 7d58524185b78ac7a9ecd23025c9518c24782bfe Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Fri, 24 Sep 2010 11:26:36 -0400 Subject: [PATCH] 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 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/window.c b/src/core/window.c index b2aa4f1b6..9db0131cf 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.