Commit bce49667 authored by Padraig O'Briain's avatar Padraig O'Briain Committed by Padraig O'Briain

libnautilus-private/nautilus-icon-canvas-item.c

2003-10-08  Padraig O'Briain  <padraig.obriain@sun.com>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_accessible_ref_state_set) Avoid
	dereferencing a NULL pointer. (bug #124122)
parent db896406
2003-10-08 Padraig O'Briain <padraig.obriain@sun.com>
* libnautilus-private/nautilus-icon-canvas-item.c
(nautilus_icon_canvas_item_accessible_ref_state_set) Avoid
dereferencing a NULL pointer. (bug #124122)
2003-10-07 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-container.c:
......
......@@ -2093,10 +2093,12 @@ nautilus_icon_canvas_item_accessible_ref_state_set (AtkObject *accessible)
state_set = ATK_OBJECT_CLASS (accessible_parent_class)->ref_state_set (accessible);
item = eel_accessibility_get_gobject (accessible);
container = NAUTILUS_ICON_CONTAINER (EEL_CANVAS_ITEM (item)->canvas);
if (!item) {
atk_state_set_add_state (state_set, ATK_STATE_DEFUNCT);
} else if (item->details->is_highlighted_as_keyboard_focus) {
return state_set;
}
container = NAUTILUS_ICON_CONTAINER (EEL_CANVAS_ITEM (item)->canvas);
if (item->details->is_highlighted_as_keyboard_focus) {
atk_state_set_add_state (state_set, ATK_STATE_FOCUSED);
} else if (!container->details->keyboard_focus) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment