[gtksourceview] Add more introspection annotations
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Add more introspection annotations
- Date: Sat, 19 Jun 2010 20:18:16 +0000 (UTC)
commit 1d892ccbf4c8e48313e7e555fbab09578a4cc6ba
Author: Garrett Regier <alias301 gmail com>
Date: Sat Jun 19 13:18:02 2010 -0700
Add more introspection annotations
gtksourceview/gtksourcecompletion.c | 8 +++++---
gtksourceview/gtksourceview.c | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 7f01e51..7cde9ea 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -3250,8 +3250,9 @@ _gtk_source_completion_add_proposals (GtkSourceCompletion *completion,
/**
* gtk_source_completion_show:
- * @completion: z #GtkSourceCompletion.
- * @providers: (allow-none): z list of #GtkSourceCompletionProvider, or %NULL.
+ * @completion: a #GtkSourceCompletion.
+ * @providers: (element-type CompletionProvider) (allow-none):
+ * a list of #GtkSourceCompletionProvider, or %NULL.
* @context: The #GtkSourceCompletionContext with which to start the completion.
*
* Starts a new completion with the specified #GtkSourceCompletionContext and
@@ -3317,7 +3318,8 @@ gtk_source_completion_show (GtkSourceCompletion *completion,
* Get list of providers registered on @completion. The returned list is owned
* by the completion and should not be freed.
*
- * Returns: (transfer none): list of #GtkSourceCompletionProvider.
+ * Returns: (element-type CompletionProvider) (transfer none):
+ * list of #GtkSourceCompletionProvider.
*/
GList *
gtk_source_completion_get_providers (GtkSourceCompletion *completion)
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index ecf3dc3..d0cf691 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -5224,7 +5224,7 @@ gtk_source_view_update_style_scheme (GtkSourceView *view)
*
* Gets the #GtkSourceCompletion associated with @view.
*
- * Returns: the #GtkSourceCompletion associated with @view.
+ * Returns: (type Completion) (transfer none): the #GtkSourceCompletion associated with @view.
*/
GtkSourceCompletion *
gtk_source_view_get_completion (GtkSourceView *view)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]