From 5c371a408a4b71c718eb331c77edfc114fa4114f Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 4 Nov 2014 19:07:50 +0100 Subject: 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 --- egg/eggsmclient-xsmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'egg') 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 #include +#include #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); -- cgit v1.2.1