summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2010-05-24 15:06:46 +0200
committerJulien Danjou <julien@danjou.info>2010-05-24 15:06:46 +0200
commite40dbe3b9cc325bc84489655915125878a30b368 (patch)
tree9fe241805e2cd46cb263d524267cf72216d24990
parent76ede84816d187e3c6ce11ec03dbe9167f5738dc (diff)
downloadstartup-notification-e40dbe3b9cc325bc84489655915125878a30b368.tar.gz
Update test suite for xcb >= 1.6
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--configure.in2
-rw-r--r--test/test-launcher-xcb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 21fe138..7ca0ca2 100644
--- a/configure.in
+++ b/configure.in
@@ -78,7 +78,7 @@ fi
## try definining HAVE_BACKTRACE
AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_FUNCS(backtrace)])
-PKG_CHECK_MODULES([xcb], [xcb],,
+PKG_CHECK_MODULES([xcb], [xcb >= 1.6],,
[AC_MSG_ERROR([Cannot find xcb])])
PKG_CHECK_MODULES([xcb_aux], [xcb-aux],,
[AC_MSG_ERROR([Cannot find xcb-aux])])
diff --git a/test/test-launcher-xcb.c b/test/test-launcher-xcb.c
index ed06ead..a94c2d3 100644
--- a/test/test-launcher-xcb.c
+++ b/test/test-launcher-xcb.c
@@ -64,7 +64,7 @@ slowly_obtain_timestamp (SnDisplay *display)
name = "Fake Window";
xcb_change_property (xconnection, XCB_PROP_MODE_REPLACE,
- xwindow, WM_NAME, STRING, 8,
+ xwindow, XCB_ATOM_WM_NAME, XCB_ATOM_STRING, 8,
strlen (name), name);
}