Doc: Fix GListModel/GListStore

This commit is contained in:
Xavier Claessens 2015-01-30 11:40:46 -05:00 committed by Ryan Lortie
parent 642f7a5c79
commit caf9db2dfb
3 changed files with 18 additions and 4 deletions

View 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

View 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

View 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
@ -38,6 +38,13 @@
* 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;