summaryrefslogtreecommitdiff
path: root/src/terminal-screen.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-08-25 16:00:41 +0300
committerinfirit <[email protected]>2015-09-08 13:39:20 +0200
commit80c5e88588752d4a856a43fe292569afa6c1c31d (patch)
tree9008690c45e474f619279daca2a57596eebfc67f /src/terminal-screen.c
parent589ab9b7ce52f9b53dbea123c8fd2d9b3de1e53f (diff)
downloadmate-terminal-80c5e88588752d4a856a43fe292569afa6c1c31d.tar.bz2
mate-terminal-80c5e88588752d4a856a43fe292569afa6c1c31d.tar.xz
drop support for win32/osx
Diffstat (limited to 'src/terminal-screen.c')
-rw-r--r--src/terminal-screen.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 3e23b29..b3318bc 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -28,13 +28,7 @@
#include <gdk/gdkkeysyms.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
#include "terminal-accels.h"
#include "terminal-app.h"
@@ -1409,14 +1403,9 @@ get_child_environment (TerminalScreen *screen,
g_hash_table_replace (env_table, g_strdup ("COLORTERM"), g_strdup (EXECUTABLE_NAME));
g_hash_table_replace (env_table, g_strdup ("TERM"), g_strdup ("xterm")); /* FIXME configurable later? */
-#ifdef GDK_WINDOWING_X11
/* FIXME: moving the tab between windows, or the window between displays will make the next two invalid... */
- if (GDK_IS_X11_DISPLAY(display))
- {
- g_hash_table_replace (env_table, g_strdup ("WINDOWID"), g_strdup_printf ("%ld", GDK_WINDOW_XID (gtk_widget_get_window (window))));
- g_hash_table_replace (env_table, g_strdup ("DISPLAY"), g_strdup (gdk_display_get_name (display)));
- }
-#endif
+ g_hash_table_replace (env_table, g_strdup ("WINDOWID"), g_strdup_printf ("%ld", GDK_WINDOW_XID (gtk_widget_get_window (window))));
+ g_hash_table_replace (env_table, g_strdup ("DISPLAY"), g_strdup (gdk_display_get_name (display)));
list_schemas = g_settings_list_schemas();
schema_exists = FALSE;