diff options
author | Timm Bäder <mail@baedert.org> | 2020-03-07 15:15:56 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-03-07 15:30:38 +0100 |
commit | 7789d0e23f2296f7e35b327ebc0566dcde4b688f (patch) | |
tree | 675da482a0d15b2751bbd05ef0abe9c2d7a76314 /gtk/gtkbuilder.c | |
parent | dc36c21835ac8b1f937fbbbebe2f2320d3104500 (diff) | |
download | gtk+-7789d0e23f2296f7e35b327ebc0566dcde4b688f.tar.gz |
builder: Make object names a const array
We don't take ownership.
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r-- | gtk/gtkbuilder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 1702a37aa9..ba3f367ddc 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -1151,7 +1151,7 @@ gtk_builder_add_from_file (GtkBuilder *builder, gboolean gtk_builder_add_objects_from_file (GtkBuilder *builder, const gchar *filename, - gchar **object_ids, + const char **object_ids, GError **error) { GtkBuilderPrivate *priv = gtk_builder_get_instance_private (builder); @@ -1352,7 +1352,7 @@ gtk_builder_add_from_resource (GtkBuilder *builder, gboolean gtk_builder_add_objects_from_resource (GtkBuilder *builder, const gchar *resource_path, - gchar **object_ids, + const char **object_ids, GError **error) { GtkBuilderPrivate *priv = gtk_builder_get_instance_private (builder); @@ -1483,7 +1483,7 @@ gboolean gtk_builder_add_objects_from_string (GtkBuilder *builder, const gchar *buffer, gssize length, - gchar **object_ids, + const char **object_ids, GError **error) { GtkBuilderPrivate *priv = gtk_builder_get_instance_private (builder); |