[gtksourceview] GI: remove useless (type GtkSource.[...]) annotations



commit 976e1815885e04d065893f6463bb665a8cbeb724
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Sep 27 19:02:39 2016 +0200

    GI: remove useless (type GtkSource.[...]) annotations
    
    The namespace is provided in the Makefile.am.
    
    Removing those annotations doesn't change the types in the
    GtkSource-3.0.gir file.

 gtksourceview/gtksourcecompletion.c        |    4 ++--
 gtksourceview/gtksourcecompletioncontext.c |    2 +-
 gtksourceview/gtksourceview.c              |    7 +++----
 3 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index cf15462..f0e000c 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -3007,8 +3007,8 @@ gtk_source_completion_get_info_window (GtkSourceCompletion *completion)
  * The #GtkSourceView associated with @completion, or %NULL if the view has been
  * destroyed.
  *
- * Returns: (type GtkSource.View) (nullable) (transfer none):
- * The #GtkSourceView associated with @completion, or %NULL.
+ * Returns: (nullable) (transfer none): The #GtkSourceView associated with
+ * @completion, or %NULL.
  */
 GtkSourceView *
 gtk_source_completion_get_view (GtkSourceCompletion *completion)
diff --git a/gtksourceview/gtksourcecompletioncontext.c b/gtksourceview/gtksourcecompletioncontext.c
index 696611e..bede988 100644
--- a/gtksourceview/gtksourcecompletioncontext.c
+++ b/gtksourceview/gtksourcecompletioncontext.c
@@ -290,7 +290,7 @@ gtk_source_completion_context_init (GtkSourceCompletionContext *context)
 /**
  * gtk_source_completion_context_add_proposals:
  * @context: a #GtkSourceCompletionContext.
- * @provider: (type GtkSource.CompletionProvider): a #GtkSourceCompletionProvider.
+ * @provider: a #GtkSourceCompletionProvider.
  * @proposals: (nullable) (element-type GtkSource.CompletionProposal): The list of proposals to add.
  * @finished: Whether the provider is finished adding proposals.
  *
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index c2d68fa..ac0c999 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -4779,8 +4779,7 @@ mark_category_free (MarkCategory *category)
  *
  * Gets the #GtkSourceCompletion associated with @view.
  *
- * Returns: (type GtkSource.Completion) (transfer none):
- * the #GtkSourceCompletion associated with @view.
+ * Returns: (transfer none): the #GtkSourceCompletion associated with @view.
  */
 GtkSourceCompletion *
 gtk_source_view_get_completion (GtkSourceView *view)
@@ -4949,8 +4948,8 @@ gtk_source_view_get_background_pattern (GtkSourceView *view)
  * gtk_source_view_get_space_drawer:
  * @view: a #GtkSourceView.
  *
- * Returns: (type GtkSource.SpaceDrawer) (transfer none) (nullable): the
- * #GtkSourceSpaceDrawer associated with @view.
+ * Returns: (transfer none) (nullable): the #GtkSourceSpaceDrawer associated
+ * with @view.
  * Since: 3.24
  */
 GtkSourceSpaceDrawer *


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