Avoid setting enum values to 0x80000000
authorMike Gorse <mgorse@novell.com>
Thu, 3 Mar 2011 16:41:48 +0000 (10:41 -0600)
committerMike Gorse <mgorse@novell.com>
Thu, 3 Mar 2011 16:45:08 +0000 (10:45 -0600)
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

index 90d6ca6b11ba3d386ea458c76e9009b89892c3e3..7c1a1f86a134bd76a18990642b9e6c632abc98cd 100644 (file)
@@ -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