diff options
author | Mike Gorse <mgorse@novell.com> | 2011-05-22 18:37:27 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2011-05-22 18:41:28 -0500 |
commit | 78beee3d5f5f919fd2ec1ed99bef9a4126c0b56c (patch) | |
tree | ef745a02f400c75e4f1ff9e40c5e799b20aba32a /atspi/atspi-accessible.h | |
parent | 9ed3925b0769fe068bc2ac31910770a93a5129e9 (diff) | |
download | at-spi2-core-78beee3d5f5f919fd2ec1ed99bef9a4126c0b56c.tar.gz |
Fix/rework selective caching
Previously, atspi_accessible_set_cache_mask would not affect accessibles
which were already cached, but this was not very useful, as caching is done
automatically when a new app is discovered. Functions that may retrieve
cached data now test the cache setting for the application--not just whether
there is a value stored for the data--whe ndetermining whether to call the app.
Also, annotate atspi_accessible_set_cache_mask as a gint. This is temporary;
properly generating GTypes for enums/flags is TODO for 2.2.
Diffstat (limited to 'atspi/atspi-accessible.h')
-rw-r--r-- | atspi/atspi-accessible.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/atspi/atspi-accessible.h b/atspi/atspi-accessible.h index 3dca6208..72c2bbec 100644 --- a/atspi/atspi-accessible.h +++ b/atspi/atspi-accessible.h @@ -131,4 +131,5 @@ void atspi_accessible_set_cache_mask (AtspiAccessible *accessible, AtspiCache ma /* private */ void _atspi_accessible_add_cache (AtspiAccessible *accessible, AtspiCache flag); +gboolean _atspi_accessible_test_cache (AtspiAccessible *accessible, AtspiCache flag); #endif /* _ATSPI_ACCESSIBLE_H_ */ |