summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-12 22:01:44 +0300
committermonsta <[email protected]>2018-01-12 22:01:44 +0300
commitc0b62d94e48cb96f3c7681e4b84b9abf9b89853d (patch)
treef27f4f39fefb2d70c168263696aa0baf72805ed1
parent13532afba1d8dfd77038b2607e3a68a15a23970c (diff)
downloadmate-control-center-c0b62d94e48cb96f3c7681e4b84b9abf9b89853d.tar.bz2
mate-control-center-c0b62d94e48cb96f3c7681e4b84b9abf9b89853d.tar.xz
remove some leftovers related to MacOS support O_o
-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;