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/terminal.c | |
parent | 589ab9b7ce52f9b53dbea123c8fd2d9b3de1e53f (diff) | |
download | mate-terminal-80c5e88588752d4a856a43fe292569afa6c1c31d.tar.bz2 mate-terminal-80c5e88588752d4a856a43fe292569afa6c1c31d.tar.xz |
drop support for win32/osx
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/terminal.c b/src/terminal.c index f9989a5..3569f4f 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -32,17 +32,9 @@ #include <gio/gio.h> #include <gdk/gdk.h> - -#ifdef GDK_WINDOWING_X11 #include <gdk/gdkx.h> -#ifndef GDK_IS_X11_DISPLAY -#define GDK_IS_X11_DISPLAY(display) 1 -#endif -#endif -#ifdef WITH_SMCLIENT #include "eggsmclient.h" -#endif #include "terminal-accels.h" #include "terminal-app.h" @@ -442,7 +434,6 @@ name_lost_cb (GDBusConnection *connection, * */ -#ifdef GDK_WINDOWING_X11 /* Copied from libcaja/caja-program-choosing.c; Needed in case * we have no DESKTOP_STARTUP_ID (with its accompanying timestamp). */ @@ -493,7 +484,6 @@ slowly_and_stupidly_obtain_timestamp (Display *xdisplay) return event.xproperty.time; } -#endif static char * get_factory_name_for_display (const char *display_name) @@ -588,9 +578,7 @@ main (int argc, char **argv) &argc, &argv, &error, gtk_get_option_group (TRUE), -#ifdef WITH_SMCLIENT egg_sm_client_get_option_group (), -#endif NULL); g_free (working_directory); @@ -615,8 +603,7 @@ main (int argc, char **argv) display_name = gdk_display_get_name (display); options->display_name = g_strdup (display_name); -#ifdef GDK_WINDOWING_X11 - if (GDK_IS_X11_DISPLAY(display) && options->startup_id == NULL) + if (options->startup_id == NULL) { /* Create a fake one containing a timestamp that we can use */ Time timestamp; @@ -625,7 +612,6 @@ main (int argc, char **argv) options->startup_id = g_strdup_printf ("_TIME%lu", timestamp); } -#endif if (options->use_factory) { |