summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/libegg/eggsmclient-xsmp.c6
-rw-r--r--mate-panel/panel-session.c4
2 files changed, 0 insertions, 10 deletions
diff --git a/mate-panel/libegg/eggsmclient-xsmp.c b/mate-panel/libegg/eggsmclient-xsmp.c
index b5f90cee..3e2a6949 100644
--- a/mate-panel/libegg/eggsmclient-xsmp.c
+++ b/mate-panel/libegg/eggsmclient-xsmp.c
@@ -37,9 +37,7 @@
#include <gtk/gtk.h>
#include <gdk/gdk.h>
-#if GTK_CHECK_VERSION (3, 0, 0)
#include <gdk/gdkx.h>
-#endif
#define EGG_TYPE_SM_CLIENT_XSMP (egg_sm_client_xsmp_get_type ())
#define EGG_SM_CLIENT_XSMP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMP))
@@ -371,11 +369,7 @@ sm_client_xsmp_startup (EggSMClient *client,
free (ret_client_id);
gdk_threads_enter ();
-#if GTK_CHECK_VERSION (3, 0, 0)
gdk_x11_set_sm_client_id (xsmp->client_id);
-#else
- gdk_set_sm_client_id (xsmp->client_id);
-#endif
gdk_threads_leave ();
g_debug ("Got client ID \"%s\"", xsmp->client_id);
diff --git a/mate-panel/panel-session.c b/mate-panel/panel-session.c
index 5f43f3f4..917d9ff5 100644
--- a/mate-panel/panel-session.c
+++ b/mate-panel/panel-session.c
@@ -80,9 +80,5 @@ panel_session_init (void)
/* We don't want the WM to try and save/restore our
* window position */
-#if GTK_CHECK_VERSION (3, 0, 0)
gdk_x11_set_sm_client_id (NULL);
-#else
- gdk_set_sm_client_id (NULL);
-#endif
}