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 | 3382cb806946d3474c89f87802bf0058035fda7a (patch) | |
tree | 28605b5eb770d3e34049c568415a91bfc4f5e311 /atom | |
parent | d4dc6c7abf1ac248974bdba3cdd548e3462dae64 (diff) |
use XCBNone instead of None
Diffstat (limited to 'atom')
-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; |