mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 12:41:50 +01:00
Clarify docs around main loop vfuncs
Mention that the vfuncs are no longer used, and tweak the wording around what g_application_run() does. https://bugzilla.gnome.org/show_bug.cgi?id=665391
This commit is contained in:
parent
70dacf83d2
commit
3d686e3d8f
@ -1246,8 +1246,8 @@ g_application_open (GApplication *application,
|
|||||||
*
|
*
|
||||||
* If, after the above is done, the use count of the application is zero
|
* If, after the above is done, the use count of the application is zero
|
||||||
* then the exit status is returned immediately. If the use count is
|
* then the exit status is returned immediately. If the use count is
|
||||||
* non-zero then the mainloop is run until the use count falls to zero,
|
* non-zero then the default main context is iterated until the use count
|
||||||
* at which point 0 is returned.
|
* falls to zero, at which point 0 is returned.
|
||||||
*
|
*
|
||||||
* If the %G_APPLICATION_IS_SERVICE flag is set, then the exiting at
|
* If the %G_APPLICATION_IS_SERVICE flag is set, then the exiting at
|
||||||
* use count of zero is delayed for a while (ie: the instance stays
|
* use count of zero is delayed for a while (ie: the instance stays
|
||||||
|
@ -81,11 +81,13 @@ struct _GApplication
|
|||||||
* the calling instance
|
* the calling instance
|
||||||
* @add_platform_data: invoked (locally) to add 'platform data' to be sent to
|
* @add_platform_data: invoked (locally) to add 'platform data' to be sent to
|
||||||
* the primary instance when activating, opening or invoking actions
|
* the primary instance when activating, opening or invoking actions
|
||||||
* @quit_mainloop: invoked on the primary instance when the use count of the
|
* @quit_mainloop: Used to be invoked on the primary instance when the use
|
||||||
* application drops to zero (and after any inactivity timeout, if
|
* count of the application drops to zero (and after any inactivity
|
||||||
* requested)
|
* timeout, if requested). Not used anymore since 2.32
|
||||||
* @run_mainloop: invoked on the primary instance from g_application_run()
|
* @run_mainloop: Used to be invoked on the primary instance from
|
||||||
* if the use-count is non-zero
|
* g_application_run() if the use-count is non-zero. Since 2.32,
|
||||||
|
* GApplication is iterating the main context directly and is not
|
||||||
|
* using @run_mainloop anymore
|
||||||
*
|
*
|
||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user