From 61225574d36ca24e5af8bd610d3f518b4f672e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 18 Nov 2021 09:43:51 +0100 Subject: Actually fix adding to the list of recent files --- fastiv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fastiv.c') diff --git a/fastiv.c b/fastiv.c index 5e75d6b..e07a43f 100644 --- a/fastiv.c +++ b/fastiv.c @@ -155,7 +155,7 @@ open(const gchar *path) gchar *uri = g_filename_to_uri(path, NULL, NULL); if (uri) { - gtk_recent_manager_add_item(gtk_recent_manager_get_default(), path); + gtk_recent_manager_add_item(gtk_recent_manager_get_default(), uri); g_free(uri); } -- cgit v1.2.3