at-spi r1046 - in trunk: . atk-bridge
- From: liyuan svn gnome org
- To: svn-commits-list gnome org
- Subject: at-spi r1046 - in trunk: . atk-bridge
- Date: Wed, 20 Aug 2008 05:11:17 +0000 (UTC)
Author: liyuan
Date: Wed Aug 20 05:11:17 2008
New Revision: 1046
URL: http://svn.gnome.org/viewvc/at-spi?rev=1046&view=rev
Log:
2008-08-20 Li Yuan <li yuan sun com>
* atk-bridge/bridge.c: (spi_atk_tidy_windows):
Bug #458559. Patch from Mike Gorse. If the root has gone,
just return.
Modified:
trunk/ChangeLog
trunk/atk-bridge/bridge.c
Modified: trunk/atk-bridge/bridge.c
==============================================================================
--- trunk/atk-bridge/bridge.c (original)
+++ trunk/atk-bridge/bridge.c Wed Aug 20 05:11:17 2008
@@ -1296,6 +1296,10 @@
gint i;
root = atk_get_root ();
+
+ if (!root)
+ return;
+
n_children = atk_object_get_n_accessible_children (root);
for (i = 0; i < n_children; i++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]