docs: Move the GListStore SECTION

Move it to the struct docs.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>

Helps: #3037
This commit is contained in:
Philip Withnall 2023-10-23 14:40:39 +01:00
parent c834b843b9
commit 49a94280c1

View File

@ -28,25 +28,15 @@
#include "glistmodel.h" #include "glistmodel.h"
/** /**
* SECTION:gliststore * GListStore:
* @title: GListStore
* @short_description: A simple implementation of #GListModel
* @include: gio/gio.h
* *
* #GListStore is a simple implementation of #GListModel that stores all * `GListStore` is a simple implementation of [iface@Gio.ListModel] that stores
* items in memory. * all items in memory.
* *
* It provides insertions, deletions, and lookups in logarithmic time * It provides insertions, deletions, and lookups in logarithmic time
* with a fast path for the common case of iterating the list linearly. * 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 struct _GListStore
{ {
GObject parent_instance; GObject parent_instance;