[at-spi2-core] Avoid setting enum values to 0x80000000



commit 0f56c9f0448c114aa65d131cd1431c553d3a40bd
Author: Mike Gorse <mgorse novell com>
Date:   Thu Mar 3 10:41:48 2011 -0600

    Avoid setting enum values to 0x80000000
    
    Change ATSPI_CACHE_ALL and ATSPI_CACHE_UNDEFINED, since ATSPI_CACHE_UNDEFINED
    was set to 0x80000000 and throwing an exception with pygobject.

 atspi/atspi-constants.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/atspi/atspi-constants.h b/atspi/atspi-constants.h
index 90d6ca6..7c1a1f8 100644
--- a/atspi/atspi-constants.h
+++ b/atspi/atspi-constants.h
@@ -769,8 +769,8 @@ typedef enum
   ATSPI_CACHE_STATES      = 0x0010,
   ATSPI_CACHE_ROLE        = 0x0020,
   ATSPI_CACHE_INTERFACES  = 0x0040,
-  ATSPI_CACHE_ALL         = 0x7fffffff,
-  ATSPI_CACHE_UNDEFINED   = 0x80000000
+  ATSPI_CACHE_ALL         = 0x3fffffff,
+  ATSPI_CACHE_UNDEFINED   = 0x40000000
 } AtspiCache;
 
 #ifdef __cplusplus



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]