mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
appinfo: Fix the build on windows
The previous commit forgot to protect some unix-only calls by an ifdef. Pointed out by John Emmas.
This commit is contained in:
parent
7c5cd293d0
commit
34b21312f1
@ -831,7 +831,11 @@ gboolean
|
||||
g_app_info_launch_default_for_uri_finish (GAsyncResult *result,
|
||||
GError **error)
|
||||
{
|
||||
#ifdef G_OS_UNIX
|
||||
return g_openuri_portal_open_uri_finish (result, error);
|
||||
#else
|
||||
return g_task_propagate_boolean (G_TASK (result), error);
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user