From 7789d0e23f2296f7e35b327ebc0566dcde4b688f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 7 Mar 2020 15:15:56 +0100 Subject: builder: Make object names a const array We don't take ownership. --- gtk/gtkbuilder.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/gtkbuilder.h') 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, -- cgit v1.2.1