The translation_domain argument should be const gchar * to allow compilation
with -Wwrite-strings. It only passes the argument to
g_option_context_add_main_entries() which is already const gchar*.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=583305
gboolean
gtk_init_with_args (int *argc,
char ***argv,
- char *parameter_string,
+ const char *parameter_string,
GOptionEntry *entries,
- char *translation_domain,
+ const char *translation_domain,
GError **error)
{
GOptionContext *context;
gboolean gtk_init_with_args (int *argc,
char ***argv,
- char *parameter_string,
+ const char *parameter_string,
GOptionEntry *entries,
- char *translation_domain,
+ const char *translation_domain,
GError **error);
GOptionGroup *gtk_get_option_group (gboolean open_default_display);