summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilder.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-03-07 15:15:56 +0100
committerTimm Bäder <mail@baedert.org>2020-03-07 15:30:38 +0100
commit7789d0e23f2296f7e35b327ebc0566dcde4b688f (patch)
tree675da482a0d15b2751bbd05ef0abe9c2d7a76314 /gtk/gtkbuilder.h
parentdc36c21835ac8b1f937fbbbebe2f2320d3104500 (diff)
downloadgtk+-7789d0e23f2296f7e35b327ebc0566dcde4b688f.tar.gz
builder: Make object names a const array
We don't take ownership.
Diffstat (limited to 'gtk/gtkbuilder.h')
-rw-r--r--gtk/gtkbuilder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkbuilder.h b/gtk/gtkbuilder.h
index df49e7a4cf..94e8ed292b 100644
--- a/gtk/gtkbuilder.h
+++ b/gtk/gtkbuilder.h
@@ -114,18 +114,18 @@ gboolean gtk_builder_add_from_string (GtkBuilder *builder,
GDK_AVAILABLE_IN_ALL
gboolean gtk_builder_add_objects_from_file (GtkBuilder *builder,
const gchar *filename,
- gchar **object_ids,
+ const char **object_ids,
GError **error);
GDK_AVAILABLE_IN_ALL
gboolean gtk_builder_add_objects_from_resource(GtkBuilder *builder,
const gchar *resource_path,
- gchar **object_ids,
+ const char **object_ids,
GError **error);
GDK_AVAILABLE_IN_ALL
gboolean gtk_builder_add_objects_from_string (GtkBuilder *builder,
const gchar *buffer,
gssize length,
- gchar **object_ids,
+ const char **object_ids,
GError **error);
GDK_AVAILABLE_IN_ALL
GObject* gtk_builder_get_object (GtkBuilder *builder,