From de9e91e9a509d4e14f845f255c7f8331d35b45b1 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sun, 17 Oct 2021 15:38:27 +0200 Subject: Add a prototype of a directory view widget --- fastiv-view.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fastiv-view.h') diff --git a/fastiv-view.h b/fastiv-view.h index d9cfdba..edc99d4 100644 --- a/fastiv-view.h +++ b/fastiv-view.h @@ -19,7 +19,7 @@ #include -#define FASTIV_TYPE_VIEW (fastiv_view_get_type ()) +#define FASTIV_TYPE_VIEW (fastiv_view_get_type()) G_DECLARE_FINAL_TYPE(FastivView, fastiv_view, FASTIV, VIEW, GtkWidget) /// Try to open the given file, synchronously, to be displayed by the widget. @@ -27,3 +27,4 @@ gboolean fastiv_view_open(FastivView *self, const gchar *path, GError **error); // Private, fastiv-io.c cairo_surface_t *fastiv_io_open(const gchar *path, GError **error); +cairo_surface_t *fastiv_io_lookup_thumbnail(const gchar *target); -- cgit v1.2.3-54-g00ecf