[gnome-builder] build: fixup gobject introspection warnings



commit 32e44767a439a16886dcaa3abdafb277d5eba836
Author: Christian Hergert <christian hergert me>
Date:   Tue Sep 8 20:50:03 2015 -0700

    build: fixup gobject introspection warnings

 src/views/gb-view-grid.c  |    2 +-
 src/views/gb-view-stack.c |   27 ++++++++++++++++++++++++++-
 2 files changed, 27 insertions(+), 2 deletions(-)
---
diff --git a/src/views/gb-view-grid.c b/src/views/gb-view-grid.c
index 2c95c65..7016362 100644
--- a/src/views/gb-view-grid.c
+++ b/src/views/gb-view-grid.c
@@ -401,7 +401,7 @@ gb_view_grid_make_homogeneous (GbViewGrid *self)
  * Fetches all of the stacks in the grid. The resulting #GList should be
  * freed with g_list_free().
  *
- * Returns: (transfer container) (element-type GbViewStack*): A #GList.
+ * Returns: (transfer container) (element-type Builder.ViewStack): A #GList.
  */
 GList *
 gb_view_grid_get_stacks (GbViewGrid *self)
diff --git a/src/views/gb-view-stack.c b/src/views/gb-view-stack.c
index 2efe61a..432c6c4 100644
--- a/src/views/gb-view-stack.c
+++ b/src/views/gb-view-stack.c
@@ -534,6 +534,16 @@ gb_view_stack_class_init (GbViewStackClass *klass)
                                 G_TYPE_NONE,
                                 0);
 
+  /**
+   * GbViewStack::split:
+   * @self: A #GbViewStack.
+   * @view: The #GbView to split.
+   * @split_type: (type gint): A #GbViewGridSplit.
+   *
+   * Requests a split to be performed on the view.
+   *
+   * This should only be used by #GbViewGrid.
+   */
   gSignals [SPLIT] = g_signal_new ("split",
                                    G_TYPE_FROM_CLASS (klass),
                                    G_SIGNAL_RUN_LAST,
@@ -601,6 +611,11 @@ gb_view_stack_new (void)
   return g_object_new (GB_TYPE_VIEW_STACK, NULL);
 }
 
+/**
+ * gb_view_stack_get_active_view:
+ *
+ * Returns: (transfer none) (nullable): A #GtkWidget or %NULL.
+ */
 GtkWidget *
 gb_view_stack_get_active_view (GbViewStack *self)
 {
@@ -682,6 +697,11 @@ gb_view_stack_set_active_view (GbViewStack *self,
     }
 }
 
+/**
+ * gb_view_stack_find_with_document:
+ *
+ * Returns: (transfer none) (nullable): A #GtkWidget or %NULL.
+ */
 GtkWidget *
 gb_view_stack_find_with_document (GbViewStack *self,
                                   GbDocument  *document)
@@ -802,6 +822,11 @@ gb_view_stack_focus_location (GbViewStack       *self,
     }
 }
 
+/**
+ * gb_view_stack_find_document_typed:
+ *
+ * Returns: (transfer none) (nullable): A #GbDocument or %NULL.
+ */
 GbDocument *
 gb_view_stack_find_document_typed (GbViewStack *self,
                                    GType        document_type)
@@ -828,7 +853,7 @@ gb_view_stack_find_document_typed (GbViewStack *self,
  *
  * Gets the views belonging to this #GbViewStack.
  *
- * Returns: (transfer container): A #GList of #GbView.
+ * Returns: (transfer container) (element-type Builder.View): A #GList of #GbView.
  */
 GList *
 gb_view_stack_get_views (GbViewStack *self)


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