Don't cache objects that return NULL when their state set is queried
authorMike Gorse <mgorse@novell.com>
Mon, 6 Feb 2012 22:35:43 +0000 (16:35 -0600)
committerMike Gorse <mgorse@novell.com>
Mon, 6 Feb 2012 22:35:43 +0000 (16:35 -0600)
commit9bf59744dc2547f79de03ed7f55ab3ea077bfa4d
treea0fef1836a24adf136e75619e50fa718855be590
parentb127ebb72cce5c710445b1c823379256921f1e45
Don't cache objects that return NULL when their state set is queried

If atk_object_ref_state_set returns NULL, then perhaps the object is
going away or not yet initialized, so caching it may not be a good idea.
Also stops some warnings.
atk-adaptor/accessible-cache.c