Convert all loading to use GFile

Now we're able to make use of GVfs, with some caveats.
This commit is contained in:
2021-12-30 21:47:28 +01:00
parent 8b232dc444
commit 380ddd540b
11 changed files with 230 additions and 197 deletions

View File

@@ -23,7 +23,7 @@
G_DECLARE_FINAL_TYPE(FivView, fiv_view, FIV, VIEW, GtkWidget)
/// Try to open the given file, synchronously, to be displayed by the widget.
gboolean fiv_view_open(FivView *self, const gchar *path, GError **error);
gboolean fiv_view_open(FivView *self, const gchar *uri, GError **error);
typedef enum _FivViewCommand {
FIV_VIEW_COMMAND_ROTATE_LEFT = 1,