[gnome-panel/gtk3] Fix gdk_set_sm_client_id deprecated
- From: Germán Poó Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/gtk3] Fix gdk_set_sm_client_id deprecated
- Date: Thu, 30 Dec 2010 13:13:23 +0000 (UTC)
commit bf9cce40c8735b53d724f77ab182944367c4ece9
Author: Germán Póo-Caamaño <gpoo gnome org>
Date: Thu Dec 30 05:04:24 2010 -0800
Fix gdk_set_sm_client_id deprecated
Replaced by gdk_x11_set_sm_client_id.
https://bugzilla.gnome.org/show_bug.cgi?id=627455
Signed-off-by: Germán Póo-Caamaño <gpoo gnome org>
gnome-panel/panel-session.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-panel/panel-session.c b/gnome-panel/panel-session.c
index 8ebc742..fa45513 100644
--- a/gnome-panel/panel-session.c
+++ b/gnome-panel/panel-session.c
@@ -26,7 +26,7 @@
#include <stdlib.h>
-#include <gdk/gdk.h>
+#include <gdk/gdkx.h>
#include <libegg/eggsmclient.h>
@@ -76,5 +76,5 @@ panel_session_init (void)
/* We don't want the WM to try and save/restore our
* window position */
- gdk_set_sm_client_id (NULL);
+ gdk_x11_set_sm_client_id (NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]