summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-04 19:07:50 +0100
committerinfirit <[email protected]>2014-11-04 22:08:50 +0100
commit5c371a408a4b71c718eb331c77edfc114fa4114f (patch)
tree45be9b7fb907bb6dc685432e4624d54e1da5e7b9
parent778ae13f16b024d230c6954548505757b52d0e2b (diff)
downloadmate-session-manager-5c371a408a4b71c718eb331c77edfc114fa4114f.tar.bz2
mate-session-manager-5c371a408a4b71c718eb331c77edfc114fa4114f.tar.xz
Replace gdk_set_sm_client_id with gdk_x11_set_sm_client_id
gdk_x11_set_sm_client_id was added in Gtk+ 2.24
-rw-r--r--egg/eggsmclient-xsmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/egg/eggsmclient-xsmp.c b/egg/eggsmclient-xsmp.c
index 28d4095..7a2cbe1 100644
--- a/egg/eggsmclient-xsmp.c
+++ b/egg/eggsmclient-xsmp.c
@@ -36,6 +36,7 @@
#include <X11/SM/SMlib.h>
#include <gdk/gdk.h>
+#include <gdk/gdkx.h>
#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))
@@ -366,7 +367,7 @@ sm_client_xsmp_startup (EggSMClient *client,
free (ret_client_id);
gdk_threads_enter ();
- gdk_set_sm_client_id (xsmp->client_id);
+ gdk_x11_set_sm_client_id (xsmp->client_id);
gdk_threads_leave ();
g_debug ("Got client ID \"%s\"", xsmp->client_id);