gappinfo: Add launch_uris_async() and launch_uris_finish() vfuncs

The g_app_info_launch_uris_async() and g_app_info_launch_uris_finish()
functions are crucial to fix g_app_info_launch_default_for_uri_async()
to be really asynchronous.

This patch also adds GDesktopAppInfo implementation of that vfuncs.
The implementation may still use some synchronous calls to local MIME DB.

https://gitlab.gnome.org/GNOME/glib/issues/1347
https://gitlab.gnome.org/GNOME/glib/issues/1249
This commit is contained in:
Ondrej Holy
2019-01-22 15:39:15 +01:00
parent f72a5d65e0
commit cec5778cad
5 changed files with 259 additions and 11 deletions

View File

@@ -1448,6 +1448,8 @@ g_app_info_launch
g_app_info_supports_files
g_app_info_supports_uris
g_app_info_launch_uris
g_app_info_launch_uris_async
g_app_info_launch_uris_finish
g_app_info_should_show
g_app_info_can_delete
g_app_info_delete