From 673beef2108600fed393c0b7adefbc18e715015c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 15 Jan 2023 11:58:09 -0500 Subject: [PATCH] urilauncher: Fix finish function mismatch We need to call the finish function that matches the async function. --- gtk/gtkurilauncher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkurilauncher.c b/gtk/gtkurilauncher.c index b2da466fc2..cf705651ea 100644 --- a/gtk/gtkurilauncher.c +++ b/gtk/gtkurilauncher.c @@ -221,7 +221,7 @@ open_done (GObject *source, GTask *task = G_TASK (data); GError *error = NULL; - if (!g_openuri_portal_open_finish (result, &error)) + if (!g_openuri_portal_open_uri_finish (result, &error)) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); -- 2.30.2