summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-06-24 12:18:11 -0700
committerJamey Sharp <jamey@minilop.net>2010-06-24 12:25:16 -0700
commitf5c4e4853df8869eb51739e6a37f35397a690e03 (patch)
tree2f51a8ff93d576139228cbc18afdab3e76df2e7f
parent4d6556ec16409ee42478acefc316442722060272 (diff)
icccm does not depend on xcb-proto, only generated headers in xcb.
And xcb.h includes xproto.h, so icccm.c needn't include anything extra. The configure script does still need to check which version of xcb-proto libxcb was built with to ensure that the predefined atoms are available at xcb-icccm build time. Signed-off-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r--icccm/icccm.c1
-rw-r--r--icccm/xcb-icccm.pc.in2
2 files changed, 1 insertions, 2 deletions
diff --git a/icccm/icccm.c b/icccm/icccm.c
index e620bde..4bb2c00 100644
--- a/icccm/icccm.c
+++ b/icccm/icccm.c
@@ -32,7 +32,6 @@
#include <string.h>
#include <xcb/xcb.h>
-#include <xcb/xproto.h>
#include "xcb_icccm.h"
diff --git a/icccm/xcb-icccm.pc.in b/icccm/xcb-icccm.pc.in
index f85d0cb..d21d019 100644
--- a/icccm/xcb-icccm.pc.in
+++ b/icccm/xcb-icccm.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: XCB ICCCM library
Description: XCB ICCCM binding
Version: @PACKAGE_VERSION@
-Requires: xcb xcb-proto xcb-property
+Requires: xcb xcb-property
Libs: -L${libdir} -lxcb-icccm @LIBS@
Cflags: -I${includedir}