summaryrefslogtreecommitdiff
path: root/capplets/common
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/common')
-rw-r--r--capplets/common/theme-thumbnail.c9
1 files changed, 0 insertions, 9 deletions
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;