From 80c5e88588752d4a856a43fe292569afa6c1c31d Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 25 Aug 2015 16:00:41 +0300 Subject: drop support for win32/osx --- src/eggshell.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/eggshell.c') diff --git a/src/eggshell.c b/src/eggshell.c index e7e7757..95d7994 100644 --- a/src/eggshell.c +++ b/src/eggshell.c @@ -40,9 +40,7 @@ #include #include #include -#ifndef G_OS_WIN32 #include -#endif #include @@ -57,7 +55,6 @@ char * egg_shell (const char *shell) { -#ifndef G_OS_WIN32 struct passwd *pw; int i; static const char shells [][14] = @@ -105,18 +102,4 @@ egg_shell (const char *shell) /* Placate compiler. */ return NULL; -#else - /* g_find_program_in_path() always looks also in the Windows - * and System32 directories, so it should always find either cmd.exe - * or command.com. - */ - char *retval = g_find_program_in_path ("cmd.exe"); - - if (retval == NULL) - retval = g_find_program_in_path ("command.com"); - - g_assert (retval != NULL); - - return retval; -#endif } -- cgit v1.2.1