[gnome-panel/gtk3] Fix libegg according to GDK deprecations
- From: Germán Poó Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/gtk3] Fix libegg according to GDK deprecations
- Date: Thu, 30 Dec 2010 10:58:25 +0000 (UTC)
commit 71598eaf1a8de8034527f16275cb10e2bfb1f3bd
Author: Germán Póo-Caamaño <gpoo gnome org>
Date: Thu Dec 30 02:49:28 2010 -0800
Fix libegg according to GDK deprecations
Signed-off-by: Germán Póo-Caamaño <gpoo gnome org>
gnome-panel/libegg/eggsmclient-private.h | 2 +-
gnome-panel/libegg/eggsmclient-xsmp.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnome-panel/libegg/eggsmclient-private.h b/gnome-panel/libegg/eggsmclient-private.h
index ccb10bf..e391218 100644
--- a/gnome-panel/libegg/eggsmclient-private.h
+++ b/gnome-panel/libegg/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/gnome-panel/libegg/eggsmclient-xsmp.c b/gnome-panel/libegg/eggsmclient-xsmp.c
index 8bebfba..948e078 100644
--- a/gnome-panel/libegg/eggsmclient-xsmp.c
+++ b/gnome-panel/libegg/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 ())
#define EGG_SM_CLIENT_XSMP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMP))
@@ -367,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]