mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +02:00
GApplication: Add g_application_add_main_option
This function adds a single main option entry to be handeled by GApplication. The option entry has it arg_data field set to NULL and will be added to the applications packed_options. The rationale for this is that bindings will be able to add command line options even when they can't use the un-boxed struct GOptionEntry. https://bugzilla.gnome.org/show_bug.cgi?id=727455
This commit is contained in:
@@ -3040,6 +3040,7 @@ g_application_withdraw_notification
|
||||
<SUBSECTION>
|
||||
g_application_run
|
||||
g_application_add_main_option_entries
|
||||
g_application_add_main_option
|
||||
g_application_add_option_group
|
||||
<SUBSECTION>
|
||||
g_application_set_default
|
||||
|
Reference in New Issue
Block a user