Don't warn if an app returns NULL when referencing a child
authorMike Gorse <mgorse@suse.com>
Mon, 20 May 2013 21:25:46 +0000 (16:25 -0500)
committerMike Gorse <mgorse@suse.com>
Mon, 20 May 2013 21:25:46 +0000 (16:25 -0500)
commitf7a825353ec966c1b447a81aec483406cb49853c
tree5a8354e115ff2f6803760e2401617505e5200713
parent031946b5b7ec90279ae60bbf974f23979979ea78
Don't warn if an app returns NULL when referencing a child

If atk_object_ref_accessible_child returns NULL when creating the cache,
then don't attempt to process/unref the NULL item, although applications
probably shouldn't be returning NULL in response to a call to
atk_object_ref_accessible_child, so it seems debatable whether we should
be printing a warning here.
atk-adaptor/adaptors/cache-adaptor.c