changeset 2661:1eb29b830013

Backed out changeset c1258ae018ee
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 28 May 2008 20:56:05 +0300
parents c1258ae018ee
children 8e4abb83e560
files configure.ac src/hotkey/grab.c src/hotkey/gui.c src/hotkey/plugin.c
diffstat 4 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed May 28 20:51:52 2008 +0300
+++ b/configure.ac	Wed May 28 20:56:05 2008 +0300
@@ -477,7 +477,6 @@
 if test "x$enable_hotkey" = "xyes"; then
     have_hotkey="yes"
     PKG_CHECK_MODULES(GDKX11,[gdk-x11-2.0 >= 2.6.0],,[have_hotkey="no"])
-    AC_CHECK_HEADERS([X11/keysym.h])
 else
     AC_MSG_RESULT([*** X11 Global Hotkey plugin disabled per user request ***])
     have_hotkey="no"
--- a/src/hotkey/grab.c	Wed May 28 20:51:52 2008 +0300
+++ b/src/hotkey/grab.c	Wed May 28 20:56:05 2008 +0300
@@ -33,13 +33,11 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
-#ifdef HAVE_X11_KEYSYM_H
-#include <X11/keysym.h>
-#endif
+
 #include "grab.h"
 #include "plugin.h"
 
--- a/src/hotkey/gui.c	Wed May 28 20:51:52 2008 +0300
+++ b/src/hotkey/gui.c	Wed May 28 20:56:05 2008 +0300
@@ -33,7 +33,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
--- a/src/hotkey/plugin.c	Wed May 28 20:51:52 2008 +0300
+++ b/src/hotkey/plugin.c	Wed May 28 20:56:05 2008 +0300
@@ -33,7 +33,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <X11/XF86keysym.h>