mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-02 06:09:43 +02:00
gappinfo: Pass activation token from launch context to open_uri/file portal
The `activation_token` option was added to the portal in v4, so let's actually pass a activation token if we have one. Fixes: https://gitlab.gnome.org/GNOME/glib/-/issues/2868
This commit is contained in:
@@ -27,10 +27,12 @@ G_BEGIN_DECLS
|
||||
|
||||
gboolean g_openuri_portal_open_file (GFile *file,
|
||||
const char *parent_window,
|
||||
const char *startup_id,
|
||||
GError **error);
|
||||
|
||||
void g_openuri_portal_open_file_async (GFile *file,
|
||||
const char *parent_window,
|
||||
const char *startup_id,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
|
Reference in New Issue
Block a user