From c0b62d94e48cb96f3c7681e4b84b9abf9b89853d Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 12 Jan 2018 22:01:44 +0300 Subject: remove some leftovers related to MacOS support O_o --- capplets/common/theme-thumbnail.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'capplets/common/theme-thumbnail.c') diff --git a/capplets/common/theme-thumbnail.c b/capplets/common/theme-thumbnail.c index a3111374..f55e79fa 100644 --- a/capplets/common/theme-thumbnail.c +++ b/capplets/common/theme-thumbnail.c @@ -1063,9 +1063,7 @@ generate_icon_theme_thumbnail_async (MateThemeIconInfo *theme_info, void theme_thumbnail_factory_init (int argc, char *argv[]) { -#ifndef __APPLE__ gint child_pid; -#endif if (pipe (pipe_to_factory_fd) == -1) perror ("pipe error"); @@ -1073,12 +1071,6 @@ theme_thumbnail_factory_init (int argc, char *argv[]) if (pipe (pipe_from_factory_fd) == -1) perror ("pipe error"); -/* Apple's CoreFoundation classes must not be used from forked - * processes. Since freetype (and thus GTK) uses them, we simply - * disable the thumbnailer on MacOS for now. That means no thumbs - * until the thumbnailing process is rewritten, but at least we won't - * make apps crash. */ -#ifndef __APPLE__ child_pid = fork (); if (child_pid == 0) { @@ -1117,7 +1109,6 @@ theme_thumbnail_factory_init (int argc, char *argv[]) /* Parent */ close (pipe_to_factory_fd[0]); close (pipe_from_factory_fd[1]); -#endif /* __APPLE__ */ async_data.set = FALSE; async_data.theme_name = NULL; -- cgit v1.2.1