mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
g_application_add_main_option: fix type signature
The flags argument is a GOptionFlags so use that type instead of 'int'.
This commit is contained in:
parent
4482977238
commit
84ec6b4d78
@ -698,7 +698,7 @@ void
|
||||
g_application_add_main_option (GApplication *application,
|
||||
const char *long_name,
|
||||
char short_name,
|
||||
gint flags,
|
||||
GOptionFlags flags,
|
||||
GOptionArg arg,
|
||||
const char *description,
|
||||
const char *arg_description)
|
||||
|
@ -173,7 +173,7 @@ GLIB_AVAILABLE_IN_2_42
|
||||
void g_application_add_main_option (GApplication *application,
|
||||
const char *long_name,
|
||||
char short_name,
|
||||
gint flags,
|
||||
GOptionFlags flags,
|
||||
GOptionArg arg,
|
||||
const char *description,
|
||||
const char *arg_description);
|
||||
|
Loading…
x
Reference in New Issue
Block a user