telepathy-logger: log-manager: Fix annotations on get_filtered_events

Jonny Lamb jonny at kemper.freedesktop.org
Mon May 28 05:59:18 PDT 2012


Module: telepathy-logger
Branch: master
Commit: f5a91c2f48c60bc0b8fc53e915b66603bfff4dd3
URL:    http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=f5a91c2f48c60bc0b8fc53e915b66603bfff4dd3

Author: Jasper St. Pierre <jstpierre at mecheye.net>
Date:   Fri May 25 14:31:37 2012 -0400

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 at collabora.co.uk>

---

 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.



More information about the telepathy-commits mailing list