diff options
author | TORRI Vincent <torri@doursse.(none)> | 2006-07-28 09:00:37 +0200 |
---|---|---|
committer | TORRI Vincent <torri@doursse.(none)> | 2006-07-28 09:00:37 +0200 |
commit | f6740bf0357daef5c94c3e67be6711b482d1e0f5 (patch) | |
tree | 9bbf4e49bb736eeec5b25457385bd16a25005173 | |
parent | e84b13bbc0fe8f89bee293e8671beb8ba5bd80ef (diff) |
use XCBNone instead of None
-rw-r--r-- | atom/atoms.gperf.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/atom/atoms.gperf.m4 b/atom/atoms.gperf.m4 index 63c98db..a628097 100644 --- a/atom/atoms.gperf.m4 +++ b/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(XCBConnection *c, BOOL only_if_exists, CARD1 { 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; |