aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2010-12-26 20:11:33 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-25 23:37:16 +0800
commita2f59fe0fc9e1b8737759ecb884bca18fa8defe3 (patch)
treea510c280c8419c22180853c8cdad857478a440a1
parent72a11da2fcde1f61cd99880f887d301e5c5d3a7c (diff)
downloadgsoc2013-evolution-a2f59fe0fc9e1b8737759ecb884bca18fa8defe3.tar.gz
gsoc2013-evolution-a2f59fe0fc9e1b8737759ecb884bca18fa8defe3.tar.zst
gsoc2013-evolution-a2f59fe0fc9e1b8737759ecb884bca18fa8defe3.zip
Adapt smclient to latest gtk+-3.0 API.
-rw-r--r--smclient/eggsmclient-private.h2
-rw-r--r--smclient/eggsmclient-xsmp.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/smclient/eggsmclient-private.h b/smclient/eggsmclient-private.h
index 47fda7f2eb..e39cee9161 100644
--- a/smclient/eggsmclient-private.h
+++ b/smclient/eggsmclient-private.h
@@ -20,7 +20,7 @@
#ifndef __EGG_SM_CLIENT_PRIVATE_H__
#define __EGG_SM_CLIENT_PRIVATE_H__
-#include <gdkconfig.h>
+#include <gdk/gdk.h>
#include "eggsmclient.h"
G_BEGIN_DECLS
diff --git a/smclient/eggsmclient-xsmp.c b/smclient/eggsmclient-xsmp.c
index 7ae1feb0f2..c838766da7 100644
--- a/smclient/eggsmclient-xsmp.c
+++ b/smclient/eggsmclient-xsmp.c
@@ -35,7 +35,7 @@
#include <unistd.h>
#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 ())
@@ -378,7 +378,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);