aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-18 09:43:51 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-18 10:37:47 +0100
commit61225574d36ca24e5af8bd610d3f518b4f672e6c (patch)
tree30e989693fc4ea4fb564a861bcbf72087aff3f35
parentdb7a28b187aa4ef8fee1a325bc493a16694a850b (diff)
downloadfiv-61225574d36ca24e5af8bd610d3f518b4f672e6c.tar.gz
fiv-61225574d36ca24e5af8bd610d3f518b4f672e6c.tar.xz
fiv-61225574d36ca24e5af8bd610d3f518b4f672e6c.zip
Actually fix adding to the list of recent files
-rw-r--r--fastiv.c2
1 files changed, 1 insertions, 1 deletions
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);
}