[gnome-builder/wip/chergert/layout] workbench: fix introspection annotations for open_files_async()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/layout] workbench: fix introspection annotations for open_files_async()
- Date: Wed, 5 Jul 2017 11:25:13 +0000 (UTC)
commit 634e61e0a0a13ef382c5729f7843281652cb50ed
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 5 04:23:41 2017 -0700
workbench: fix introspection annotations for open_files_async()
libide/workbench/ide-workbench-open.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libide/workbench/ide-workbench-open.c b/libide/workbench/ide-workbench-open.c
index b68fe44..f46a696 100644
--- a/libide/workbench/ide-workbench-open.c
+++ b/libide/workbench/ide-workbench-open.c
@@ -359,14 +359,14 @@ ide_workbench_open_files_cb (GObject *object,
/**
* ide_workbench_open_files_async:
* @self: An #IdeWorkbench.
- * @files: An array of #GFile objects to be opened.
+ * @files: (array length=n_files): An array of #GFile objects to be opened.
* @n_files: The number of files given.
* @hint: The id of an #IdeWorkbenchAddin that should be preferred as a loader.
* @flags: A #IdeWorkbenchOpenFlags (if WORKBENCH_OPEN_FLAGS_BG is set, the buffer is loaded
- * but not made visible in the UI).
- * @cancellable: A #GCancellable.
- * @callback: A #GASyncReadyCallback.
- * @user_data: A #gpointer to hold user data.
+ * but not made visible in the UI).
+ * @cancellable: (nullable): A #GCancellable.
+ * @callback: (scope async) (closure user_data): A #GAsyncReadyCallback or %NULL
+ * @user_data: User data for @callback
*
* Starts the process of loading the buffers for the given @files, possibly
* creating an #IdeEditorView for each depending on @flags.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]