Doc: Fix GListModel/GListStore
authorXavier Claessens <xavier.claessens@collabora.com>
Fri, 30 Jan 2015 16:40:46 +0000 (11:40 -0500)
committerRyan Lortie <desrt@desrt.ca>
Wed, 4 Feb 2015 14:07:14 +0000 (15:07 +0100)
docs/reference/gio/gio-sections.txt
gio/glistmodel.c
gio/gliststore.c

index 8460894..1268947 100644 (file)
@@ -4263,7 +4263,7 @@ g_notification_get_type
 <FILE>glistmodel</FILE>
 <TITLE>GListModel</TITLE>
 GListModel
-g_list_model_new
+GListModelInterface
 <SUBSECTION>
 g_list_model_get_item_type
 g_list_model_get_n_items
@@ -4284,7 +4284,6 @@ g_list_model_get_type
 <TITLE>GListStore</TITLE>
 GListStore
 <SUBSECTION>
-g_list_store_get_type
 g_list_store_new
 g_list_store_insert
 g_list_store_insert_sorted
index 340ff22..b43f3a3 100644 (file)
@@ -83,7 +83,8 @@ G_DEFINE_INTERFACE (GListModel, g_list_model, G_TYPE_OBJECT);
  */
 
 /**
- * GListModel:
+ * GListModelInterface:
+ * @g_iface: parent #GTypeInterface
  * @get_item_type: the virtual function pointer for g_list_model_get_item_type()
  * @get_n_items: the virtual function pointer for g_list_model_get_n_items()
  * @get_item: the virtual function pointer for g_list_model_get_item()
@@ -93,6 +94,13 @@ G_DEFINE_INTERFACE (GListModel, g_list_model, G_TYPE_OBJECT);
  * Since: 2.44
  */
 
+/**
+ * GListModel:
+ *
+ * #GListModel is an opaque data structure and can only be accessed
+ * using the following functions.
+ **/
+
 static guint g_list_model_changed_signal;
 
 static void
index 7bca68e..9a48abd 100644 (file)
@@ -26,7 +26,7 @@
 #include "glistmodel.h"
 
 /**
- * SECTION:glistmodel
+ * SECTION:gliststore
  * @title: GListStore
  * @short_description: A simple implementation of #GListModel
  * @include: gio/gio.h
  * with a fast path for the common case of iterating the list linearly.
  */
 
+/**
+ * GListStore:
+ *
+ * #GListStore is an opaque data structure and can only be accessed
+ * using the following functions.
+ **/
+
 struct _GListStore
 {
   GObject parent_instance;