Compare commits
No commits in common. "4fcc506d846129da1daa0d0e3e05aaa771e4f295" and "e137afa736c9d14bbc2b8cb54370c264b99be0e0" have entirely different histories.
4fcc506d84
...
e137afa736
@ -1,8 +1,7 @@
|
|||||||
fiv
|
fiv
|
||||||
===
|
===
|
||||||
|
|
||||||
'fiv' is a slightly unconventional, general-purpose image browser and viewer
|
'fiv' is a slightly unconventional, general-purpose image browser and viewer.
|
||||||
for Linux (that said, macOS and Windows ports are possible).
|
|
||||||
|
|
||||||
image::docs/fiv.webp["Screenshot of both the browser and the viewer"]
|
image::docs/fiv.webp["Screenshot of both the browser and the viewer"]
|
||||||
|
|
||||||
@ -24,6 +23,7 @@ Explicit non-goals
|
|||||||
nothing beyond the most basic of adjustments is desired.
|
nothing beyond the most basic of adjustments is desired.
|
||||||
- Following the latest GNOME HIG to the letter--header bars are deliberately
|
- Following the latest GNOME HIG to the letter--header bars are deliberately
|
||||||
avoided, for their general user hostility.
|
avoided, for their general user hostility.
|
||||||
|
- Portability to non-UNIXy systems, although patches are welcome.
|
||||||
- Memory efficiency is secondary to both performance and development effort.
|
- Memory efficiency is secondary to both performance and development effort.
|
||||||
|
|
||||||
Aspirations
|
Aspirations
|
||||||
|
9
fiv.c
9
fiv.c
@ -25,11 +25,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
#include <io.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#endif // G_OS_WIN32
|
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "fiv-browser.h"
|
#include "fiv-browser.h"
|
||||||
@ -1812,10 +1807,6 @@ output_thumbnail(const char *path_arg, gboolean extract, const char *size_arg)
|
|||||||
exit_fatal("unknown thumbnail size: %s", size_arg);
|
exit_fatal("unknown thumbnail size: %s", size_arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
_setmode(fileno(stdout), _O_BINARY);
|
|
||||||
#endif // G_OS_WIN32
|
|
||||||
|
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
GFile *file = g_file_new_for_commandline_arg(path_arg);
|
GFile *file = g_file_new_for_commandline_arg(path_arg);
|
||||||
cairo_surface_t *surface = NULL;
|
cairo_surface_t *surface = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user