Actually fix adding to the list of recent files
This commit is contained in:
parent
db7a28b187
commit
61225574d3
2
fastiv.c
2
fastiv.c
|
@ -155,7 +155,7 @@ open(const gchar *path)
|
||||||
|
|
||||||
gchar *uri = g_filename_to_uri(path, NULL, NULL);
|
gchar *uri = g_filename_to_uri(path, NULL, NULL);
|
||||||
if (uri) {
|
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);
|
g_free(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue