[gnome-screensaver] Fix the build with recent GTK+



commit ba8bf9a4ab5760be8f99b6e0d7e12d2fcbac6c97
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 29 22:30:27 2011 -0500

    Fix the build with recent GTK+

 src/gs-lock-plug.h  |    2 ++
 src/gs-window-x11.c |    3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-lock-plug.h b/src/gs-lock-plug.h
index 035bf75..28b20bc 100644
--- a/src/gs-lock-plug.h
+++ b/src/gs-lock-plug.h
@@ -23,6 +23,8 @@
 #ifndef __GS_LOCK_PLUG_H
 #define __GS_LOCK_PLUG_H
 
+#include <gtk/gtkx.h>
+
 G_BEGIN_DECLS
 
 typedef enum
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index ffc1c33..ce4c4ce 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -28,9 +28,8 @@
 #include <string.h>
 
 #include <glib/gi18n.h>
-#include <gdk/gdkx.h>
-#include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
+#include <gtk/gtkx.h>
 
 #include "gs-window.h"
 #include "gs-marshal.h"



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