summaryrefslogtreecommitdiff
path: root/debian/patches/open-uri-Fix-a-presumably-copy-paste-typo.patch
blob: 8a3d715aad31c094520e97573a8494b33a3cfabf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Ilya Fedin <fedin-ilja2010@ya.ru>
Date: Mon, 7 Aug 2023 12:52:32 +0400
Subject: open-uri: Fix a (presumably) copy-paste typo

(cherry picked from commit 4434b20487e734b3b42ed0b1d1035a323a37c945)

Origin: future 1.17.1
---
 src/open-uri.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/open-uri.c b/src/open-uri.c
index 9cddc6e..880399c 100644
--- a/src/open-uri.c
+++ b/src/open-uri.c
@@ -1074,7 +1074,7 @@ handle_open_directory (XdpDbusOpenURI *object,
     g_object_set_data_full (G_OBJECT (request), "activation-token", g_strdup (activation_token), g_free);
 
   request_export (request, g_dbus_method_invocation_get_connection (invocation));
-  xdp_dbus_open_uri_complete_open_file (object, invocation, NULL, request->id);
+  xdp_dbus_open_uri_complete_open_directory (object, invocation, NULL, request->id);
 
   task = g_task_new (object, NULL, NULL, NULL);
   g_task_set_task_data (task, g_object_ref (request), g_object_unref);