mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
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,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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user