[gtksourceview] Add allow-none annotation to completion_context_add_proposals()



commit 321498375d1ce3b0d234d800d943b81c51932986
Author: SÃbastien Wilmet <swilmet gnome org>
Date:   Wed Jan 16 17:04:07 2013 +0100

    Add allow-none annotation to completion_context_add_proposals()
    
    To allow an empty list of proposals.

 gtksourceview/gtksourcecompletioncontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletioncontext.c b/gtksourceview/gtksourcecompletioncontext.c
index d5fe671..58d19f1 100644
--- a/gtksourceview/gtksourcecompletioncontext.c
+++ b/gtksourceview/gtksourcecompletioncontext.c
@@ -298,7 +298,7 @@ gtk_source_completion_context_init (GtkSourceCompletionContext *context)
  * gtk_source_completion_context_add_proposals:
  * @context: a #GtkSourceCompletionContext.
  * @provider: (type GtkSource.CompletionProvider): a #GtkSourceCompletionProvider.
- * @proposals: (element-type GtkSource.CompletionProposal): The list of proposals to add.
+ * @proposals: (allow-none) (element-type GtkSource.CompletionProposal): 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]