From e5e2b894e070fd0509c0016e7285d78c6ff543c3 Mon Sep 17 00:00:00 2001 From: Monsta Date: Mon, 24 Aug 2015 22:25:31 +0300 Subject: drop support for win32/osx/hildon, make smclient mandatory --- thumbnailer/Makefile.am | 4 ---- thumbnailer/atril-thumbnailer.c | 15 --------------- 2 files changed, 19 deletions(-) (limited to 'thumbnailer') 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 #include -#ifdef G_OS_WIN32 -#include -#include -#if !(_WIN32_WINNT >= 0x0500) -#error "_WIN32_WINNT must be defined >= 0x0500" -#endif -#include -#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) { -- cgit v1.2.1