summaryrefslogtreecommitdiff
path: root/copy-n-paste/eggsmclient-xsmp.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-19 17:17:55 +0100
committerinfirit <[email protected]>2014-11-19 19:36:03 +0100
commitaaf22127f31f9613d750c73565771f425b1e6cce (patch)
tree1d0230d21e8e6a9e5b8307aeac43384e4ca10de6 /copy-n-paste/eggsmclient-xsmp.c
parent797489947df52775704e169cf029dc4d6f36c6aa (diff)
downloadengrampa-aaf22127f31f9613d750c73565771f425b1e6cce.tar.bz2
engrampa-aaf22127f31f9613d750c73565771f425b1e6cce.tar.xz
Drop compat code for Glib < 2.32
Diffstat (limited to 'copy-n-paste/eggsmclient-xsmp.c')
-rw-r--r--copy-n-paste/eggsmclient-xsmp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/copy-n-paste/eggsmclient-xsmp.c b/copy-n-paste/eggsmclient-xsmp.c
index 8c6ba4d..f974136 100644
--- a/copy-n-paste/eggsmclient-xsmp.c
+++ b/copy-n-paste/eggsmclient-xsmp.c
@@ -36,9 +36,7 @@
#include <X11/SM/SMlib.h>
#include <gdk/gdk.h>
-#if GLIB_CHECK_VERSION (2, 24, 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))
@@ -370,11 +368,7 @@ sm_client_xsmp_startup (EggSMClient *client,
free (ret_client_id);
gdk_threads_enter ();
-#if GLIB_CHECK_VERSION (2, 24, 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);