diff options
author | Benjamin Otte <otte@redhat.com> | 2020-06-27 06:31:18 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-05 02:34:42 +0200 |
commit | f75a3a0e95b31c84f41acc741d6dfb2028dbe6a2 (patch) | |
tree | 04ac9e297b4aed1f65ea84498ecf5fd85102f648 /gtk/gtkstringlist.h | |
parent | b75db7d1c64914818f389347f76e1953192597b0 (diff) | |
download | gtk+-f75a3a0e95b31c84f41acc741d6dfb2028dbe6a2.tar.gz |
stringlist: Take a const char const * argument
Sucks that we need to cast a char**, but otherwise we need to cast
{"foo", "bar", "baz" } arrays.
Diffstat (limited to 'gtk/gtkstringlist.h')
-rw-r--r-- | gtk/gtkstringlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstringlist.h b/gtk/gtkstringlist.h index 31c788312a..0a29612ef8 100644 --- a/gtk/gtkstringlist.h +++ b/gtk/gtkstringlist.h @@ -45,7 +45,7 @@ GDK_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (GtkStringList, gtk_string_list, GTK, STRING_LIST, GObject) GDK_AVAILABLE_IN_ALL -GtkStringList * gtk_string_list_new (const char **strings); +GtkStringList * gtk_string_list_new (const char * const *strings); GDK_AVAILABLE_IN_ALL void gtk_string_list_append (GtkStringList *self, |