[PATCH] Drop dependency on xcb-atom/xcb-util

Dan Nicholson dbn.lists at gmail.com
Mon Mar 7 14:21:09 PST 2011


With commit 223851b6, the atom names from xcb/xproto.h are being used
and xcb-atom is no longer needed.

Signed-off-by: Dan Nicholson <dbn.lists at gmail.com>
---
 configure.ac |    2 +-
 xlsclients.c |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 39204e8..987ca2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,7 @@ fi
 XORG_DEFAULT_OPTIONS
 
 # Checks for pkg-config packages
-PKG_CHECK_MODULES(XLSCLIENTS, xcb xcb-atom)
+PKG_CHECK_MODULES(XLSCLIENTS, xcb)
 
 AC_CONFIG_FILES([
 	Makefile
diff --git a/xlsclients.c b/xlsclients.c
index 15d3f1a..691f868 100644
--- a/xlsclients.c
+++ b/xlsclients.c
@@ -37,7 +37,6 @@ in this Software without prior written authorization from The Open Group.
 #include <inttypes.h>
 #include <xcb/xcb.h>
 #include <xcb/xproto.h>
-#include <xcb/xcb_atom.h>
 #ifndef HAVE_STRNLEN
 #include "strnlen.h"
 #endif
-- 
1.7.3.4


More information about the xorg-devel mailing list