macos: Fix URL launcher

URLs should be provided to the AppInfo.launch_uris() function.
This commit is contained in:
Arjan Molenaar
2024-09-27 19:08:01 +02:00
parent 019de2cbbc
commit fd6c1f34da
2 changed files with 22 additions and 5 deletions

View File

@@ -456,8 +456,6 @@ g_osx_app_info_launch_internal (GAppInfo *appinfo,
gint ret, success = TRUE;
g_return_val_if_fail (G_IS_OSX_APP_INFO (appinfo), FALSE);
g_return_val_if_fail (uris == NULL, FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
fill_urlspec_for_appinfo (&urlspec, info, uris, are_files);