[Xcb-commit] xcb-util

Vincent Torri doursse at kemper.freedesktop.org
Fri Jul 28 00:01:01 PDT 2006


 xcb-util/atom/atoms.gperf.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
diff-tree df6268f3259cb2dc8c2c69a9a1d528d5ea6c7524 (from 6b34033ca16051daadb09314de57ae914a0c3a14)
Author: TORRI Vincent <torri at doursse.(none)>
Date:   Fri Jul 28 09:00:37 2006 +0200

    use XCBNone instead of None

diff --git a/xcb-util/atom/atoms.gperf.m4 b/xcb-util/atom/atoms.gperf.m4
index 63c98db..a628097 100644
--- a/xcb-util/atom/atoms.gperf.m4
+++ b/xcb-util/atom/atoms.gperf.m4
@@ -29,7 +29,7 @@ include(atomlist.m4)`'dnl
 XCBATOM InternAtomPredefined(CARD16 name_len, const char *name)
 {
 	const struct atom_map *value = in_word_set(name, name_len);
-	XCBATOM ret = { None };
+	XCBATOM ret = { XCBNone };
 	if(value)
 		ret = value->value;
 	return ret;
@@ -39,7 +39,7 @@ InternAtomFastCookie InternAtomFast(XCBC
 {
 	InternAtomFastCookie cookie;
 
-	if((cookie.u.atom = InternAtomPredefined(name_len, name)).xid != None)
+	if((cookie.u.atom = InternAtomPredefined(name_len, name)).xid != XCBNone)
 	{
 		cookie.tag = TAG_VALUE;
 		return cookie;


More information about the xcb-commit mailing list