diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-04 17:02:44 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-05 02:59:21 +0200 |
commit | 1dbb8df95f4732342c3ae279adea98da13238452 (patch) | |
tree | bc75dad3d3c5a7f55dfcea7a0ea432558d0a8a09 /gtk/gtkstringlist.h | |
parent | f6c2c2edbd3fc86fa5d6e6c31a10084de4d46df7 (diff) | |
download | gtk+-1dbb8df95f4732342c3ae279adea98da13238452.tar.gz |
stringlist: Export gtk_string_object_new()
There are various use cases where it makes sense to construct these -
from our internal testing to using them in flatten- or mapmodels.
Diffstat (limited to 'gtk/gtkstringlist.h')
-rw-r--r-- | gtk/gtkstringlist.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkstringlist.h b/gtk/gtkstringlist.h index 17be87864b..c426a91542 100644 --- a/gtk/gtkstringlist.h +++ b/gtk/gtkstringlist.h @@ -37,7 +37,9 @@ GDK_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (GtkStringObject, gtk_string_object, GTK, STRING_OBJECT, GObject) GDK_AVAILABLE_IN_ALL -const char * gtk_string_object_get_string (GtkStringObject *self); +GtkStringObject * gtk_string_object_new (const char *string); +GDK_AVAILABLE_IN_ALL +const char * gtk_string_object_get_string (GtkStringObject *self); #define GTK_TYPE_STRING_LIST (gtk_string_list_get_type ()) |