forked from AuroraMiddleware/gtk
constify gtk_init_with_args()'s GOptionEntry argument
Reported by Nick Schermer in bug https://bugzilla.gnome.org/show_bug.cgi?id=621111
This commit is contained in:
parent
09fe6e7d44
commit
785027751a
@ -821,11 +821,11 @@ 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,
|
||||
gtk_init_with_args (gint *argc,
|
||||
gchar ***argv,
|
||||
const gchar *parameter_string,
|
||||
const GOptionEntry *entries,
|
||||
const gchar *translation_domain,
|
||||
GError **error)
|
||||
{
|
||||
GOptionContext *context;
|
||||
|
@ -83,11 +83,11 @@ 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,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user