diff options
Diffstat (limited to 'thumbnailer')
-rw-r--r-- | thumbnailer/Makefile.am | 4 | ||||
-rw-r--r-- | thumbnailer/atril-thumbnailer.c | 15 |
2 files changed, 0 insertions, 19 deletions
diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am index a64cbe6a..27ab0200 100644 --- a/thumbnailer/Makefile.am +++ b/thumbnailer/Makefile.am @@ -21,10 +21,6 @@ atril_thumbnailer_CFLAGS = \ atril_thumbnailer_LDFLAGS = $(AM_LDFLAGS) -if PLATFORM_WIN32 -atril_thumbnailer_LDFLAGS += -mwindows -endif - atril_thumbnailer_LDADD = \ $(top_builddir)/libdocument/libatrildocument.la \ $(FRONTEND_LIBS) diff --git a/thumbnailer/atril-thumbnailer.c b/thumbnailer/atril-thumbnailer.c index c3288595..bc62502d 100644 --- a/thumbnailer/atril-thumbnailer.c +++ b/thumbnailer/atril-thumbnailer.c @@ -25,15 +25,6 @@ #include <stdlib.h> #include <string.h> -#ifdef G_OS_WIN32 -#include <io.h> -#include <conio.h> -#if !(_WIN32_WINNT >= 0x0500) -#error "_WIN32_WINNT must be defined >= 0x0500" -#endif -#include <windows.h> -#endif - #define THUMBNAIL_SIZE 128 #define DEFAULT_SLEEP_TIME (15 * G_USEC_PER_SEC) /* 15 seconds */ @@ -188,13 +179,7 @@ atril_thumbnail_pngenc_get (EvDocument *document, const char *thumbnail, int siz if (overlaid_icon_name) { GdkPixbuf *overlaid_pixbuf; -#ifdef G_OS_WIN32 - gchar *dir = g_win32_get_package_installation_directory_of_module (NULL); - gchar *overlaid_icon_path = g_build_filename (dir, "share", "atril", overlaid_icon_name, NULL); - g_free (dir); -#else gchar *overlaid_icon_path = g_strdup_printf ("%s/%s", ATRILDATADIR, overlaid_icon_name); -#endif overlaid_pixbuf = gdk_pixbuf_new_from_file (overlaid_icon_path, NULL); g_free (overlaid_icon_path); if (overlaid_pixbuf != NULL) { |