Commit 78502775 authored by Javier Jardón's avatar Javier Jardón

constify gtk_init_with_args()'s GOptionEntry argument

Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621111
parent 09fe6e7d
......@@ -821,12 +821,12 @@ gtk_get_option_group (gboolean open_default_display)
* Since: 2.6
*/
gboolean
gtk_init_with_args (int *argc,
char ***argv,
const char *parameter_string,
GOptionEntry *entries,
const char *translation_domain,
GError **error)
gtk_init_with_args (gint *argc,
gchar ***argv,
const gchar *parameter_string,
const GOptionEntry *entries,
const gchar *translation_domain,
GError **error)
{
GOptionContext *context;
GOptionGroup *gtk_group;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment