[gtksourceview] In forward declarations we need to specify the type in annotations.



commit cb76b7c73a5430f700ed1d89ad894201ab20313a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Jun 15 21:18:34 2010 +0200

    In forward declarations we need to specify the type in annotations.

 gtksourceview/gtksourcecompletion.c        |    2 +-
 gtksourceview/gtksourcecompletioncontext.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 220afeb..7f01e51 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -3529,7 +3529,7 @@ gtk_source_completion_get_info_window (GtkSourceCompletion *completion)
  *
  * The #GtkSourceView associated with @completion.
  *
- * Returns: (transfer none): The #GtkSourceView associated with @completion.
+ * Returns: (type View) (transfer none): The #GtkSourceView associated with @completion.
  */
 GtkSourceView *
 gtk_source_completion_get_view (GtkSourceCompletion *completion)
diff --git a/gtksourceview/gtksourcecompletioncontext.c b/gtksourceview/gtksourcecompletioncontext.c
index 74c5431..40479d9 100644
--- a/gtksourceview/gtksourcecompletioncontext.c
+++ b/gtksourceview/gtksourcecompletioncontext.c
@@ -286,8 +286,8 @@ gtk_source_completion_context_init (GtkSourceCompletionContext *context)
 /**
  * gtk_source_completion_context_add_proposals:
  * @context: a #GtkSourceCompletionContext.
- * @provider: a #GtkSourceCompletionProvider.
- * @proposals: The list of proposals to add.
+ * @provider: (type CompletionProvider): a #GtkSourceCompletionProvider.
+ * @proposals: (element-type CompletionItem): The list of proposals to add.
  * @finished: Whether the provider is finished adding proposals.
  * 
  * Providers can use this function to add proposals to the completion. They



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]