From 60560e527776de4f10121e4105dd13771364a8b3 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 21 Sep 2023 15:27:35 +0100 Subject: [PATCH] docs: Link GtkStringObject from GtkStringList A frequently asked question is: "what is the object type inside a GtkStringList", so let's make the answer more obvious. --- gtk/gtkstringlist.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk/gtkstringlist.c b/gtk/gtkstringlist.c index d7e7be3f81..55aa584b34 100644 --- a/gtk/gtkstringlist.c +++ b/gtk/gtkstringlist.c @@ -30,12 +30,13 @@ * * `GtkStringList` is a list model that wraps an array of strings. * - * The objects in the model have a "string" property. + * The objects in the model are of type [class@Gtk.StringObject] and have + * a "string" property that can be used inside expressions. * * `GtkStringList` is well-suited for any place where you would * typically use a `char*[]`, but need a list model. * - * # GtkStringList as GtkBuildable + * ## GtkStringList as GtkBuildable * * The `GtkStringList` implementation of the `GtkBuildable` interface * supports adding items directly using the `` element and -- 2.30.2