summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-06-09 19:12:27 +0200
committerJavier Jardón <jjardon@gnome.org>2010-06-10 03:51:51 +0200
commit785027751aaa0405342dcda0337dbd73d96a5d35 (patch)
treec5673c2260e89fe34c3807928189c95e9bef3b9c /gtk/gtkmain.h
parent09fe6e7d4498fd5c2ab9e593163f59386c13b750 (diff)
downloadgtk+-785027751aaa0405342dcda0337dbd73d96a5d35.tar.gz
constify gtk_init_with_args()'s GOptionEntry argument
Reported by Nick Schermer in bug https://bugzilla.gnome.org/show_bug.cgi?id=621111
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r--gtk/gtkmain.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index 9b4c686469..fe4ff99490 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -82,13 +82,13 @@ void gtk_init (int *argc,
gboolean gtk_init_check (int *argc,
char ***argv);
-
-gboolean gtk_init_with_args (int *argc,
- char ***argv,
- const char *parameter_string,
- GOptionEntry *entries,
- const char *translation_domain,
- GError **error);
+
+gboolean gtk_init_with_args (gint *argc,
+ gchar ***argv,
+ const gchar *parameter_string,
+ const GOptionEntry *entries,
+ const gchar *translation_domain,
+ GError **error);
GOptionGroup *gtk_get_option_group (gboolean open_default_display);