[evolution/wip/gsettings] Adapt smclient to latest gtk+-3.0 API.



commit cd633936b1f2f2e8c678dfb4e3e38ba9713e41a4
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Sun Dec 26 13:11:33 2010 +0100

    Adapt smclient to latest gtk+-3.0 API.

 smclient/eggsmclient-private.h |    2 +-
 smclient/eggsmclient-xsmp.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/smclient/eggsmclient-private.h b/smclient/eggsmclient-private.h
index 47fda7f..e39cee9 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 7ae1feb..c838766 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]