Socket's implementation of ref_state_set to return empty sets instead of NULL
authorMario Sanchez Prada <msanchez@igalia.com>
Fri, 28 Oct 2011 18:30:42 +0000 (20:30 +0200)
committerMario Sanchez Prada <msanchez@igalia.com>
Fri, 28 Oct 2011 19:24:26 +0000 (21:24 +0200)
commitae83b37cf755efac97974f9acf066fac5f868407
treebd5b9b01ad293b3d8d1ae94cacaf840390cf7859
parent2b5dfe5ffada378ea823f9566acdff0ec487e348
Socket's implementation of ref_state_set to return empty sets instead of NULL

Calls to atk_object_ref_state_set() are expected to return a valid
state set always, so it would be better if this implementation of
socket's ref_state_set() returned empty sets instead of just NULL, to
avoid calling to atk_state_set_*() functions over invalid instances of
AtkStateSet (e.g. add_pending_items() in accessible-cache.c).

https://bugs.freedesktop.org/show_bug.cgi?id=42350
atk-adaptor/bridge.c