diff options
author | monsta <[email protected]> | 2015-08-25 16:00:41 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2015-09-08 13:39:20 +0200 |
commit | 80c5e88588752d4a856a43fe292569afa6c1c31d (patch) | |
tree | 9008690c45e474f619279daca2a57596eebfc67f /src/eggshell.c | |
parent | 589ab9b7ce52f9b53dbea123c8fd2d9b3de1e53f (diff) | |
download | mate-terminal-80c5e88588752d4a856a43fe292569afa6c1c31d.tar.bz2 mate-terminal-80c5e88588752d4a856a43fe292569afa6c1c31d.tar.xz |
drop support for win32/osx
Diffstat (limited to 'src/eggshell.c')
-rw-r--r-- | src/eggshell.c | 17 |
1 files changed, 0 insertions, 17 deletions
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 <stdio.h> #include <string.h> #include <unistd.h> -#ifndef G_OS_WIN32 #include <pwd.h> -#endif #include <glib.h> @@ -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 } |