diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index 48ca1ae76..fd84a74f8 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -2076,7 +2076,7 @@ function _storeScreenshot(bytes, pixbuf) { const recentFile = GLib.build_filenamev([GLib.get_user_data_dir(), 'recently-used.xbel']); const uri = screenshotFile.get_uri(); - const bookmarks = new GLib.BookmarksFile(); + const bookmarks = new GLib.BookmarkFile(); try { bookmarks.load_from_file(recentFile); } catch (e) {