diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-05-25 14:31:37 -0400 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-05-28 13:59:00 +0100 |
commit | f5a91c2f48c60bc0b8fc53e915b66603bfff4dd3 (patch) | |
tree | 1d71f62faff676ffb8cf9f0669c4d4b08883c0e8 /telepathy-logger/log-manager.c | |
parent | 5ec438f1f6f20d2402ae14a9a15bdbaf9131c4f6 (diff) | |
download | telepathy-logger-f5a91c2f48c60bc0b8fc53e915b66603bfff4dd3.tar.gz |
log-manager: Fix annotations on get_filtered_events
Both callbacks needs to be marked allow-none, and filter isn't an
(async scope), it's an (async call).
https://bugs.freedesktop.org/show_bug.cgi?id=50361
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'telepathy-logger/log-manager.c')
-rw-r--r-- | telepathy-logger/log-manager.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/telepathy-logger/log-manager.c b/telepathy-logger/log-manager.c index d37ab85..f11a58e 100644 --- a/telepathy-logger/log-manager.c +++ b/telepathy-logger/log-manager.c @@ -1106,9 +1106,10 @@ _get_filtered_events_async_thread (GSimpleAsyncResult *simple, * @target: a non-NULL #TplEntity * @type_mask: event type filter see #TplEventTypeMask * @num_events: number of maximum events to fetch - * @filter: (scope async): an optional filter function + * @filter: (scope call) (allow-none): an optional filter function * @filter_user_data: user data to pass to @filter - * @callback: (scope async): a callback to call when the request is satisfied + * @callback: (scope async) (allow-none): a callback to call when + * the request is satisfied * @user_data: data to pass to @callback * * Retrieve the most recent @num_event events exchanged with @target. |