diff options
author | Yuedong Du <yuedong.du@sun.com> | 2003-11-20 09:59:43 +0800 |
---|---|---|
committer | Yuedong Du <york@src.gnome.org> | 2003-11-20 09:59:43 +0800 |
commit | d420759f1e42dcff24f700a41b8292337269e365 (patch) | |
tree | 896266ad4aa1da16e1368e1d6d2837836b06abe7 /a11y/e-table/gal-a11y-e-tree.c | |
parent | a69101987e5bda77882d32a049f93fefad16985e (diff) | |
download | gsoc2013-evolution-d420759f1e42dcff24f700a41b8292337269e365.tar.gz gsoc2013-evolution-d420759f1e42dcff24f700a41b8292337269e365.tar.zst gsoc2013-evolution-d420759f1e42dcff24f700a41b8292337269e365.zip |
don't reset these fields, we need these info to a11y weak ref on each cell
2003-11-19 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell.c: (eti_dispose): don't reset
these fields, we need these info to a11y weak ref on each cell to
do cell_destroy() correctly.
* gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_dispose),
(cell_destroyed), (eti_ref_at), (eti_rows_inserted),
(eti_rows_deleted), (eti_real_initialize), (eti_class_init),
(gal_a11y_e_table_item_new): handle table model's row-inserted
and row-deleted signal
* gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): sanity
check to avoid crash.
svn path=/trunk/; revision=23456
Diffstat (limited to 'a11y/e-table/gal-a11y-e-tree.c')
-rw-r--r-- | a11y/e-table/gal-a11y-e-tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/a11y/e-table/gal-a11y-e-tree.c b/a11y/e-table/gal-a11y-e-tree.c index 14546bedda..dc7755c6f2 100644 --- a/a11y/e-table/gal-a11y-e-tree.c +++ b/a11y/e-table/gal-a11y-e-tree.c @@ -34,6 +34,7 @@ init_child_item (GalA11yETree *a11y) eti = e_tree_get_item (tree); if (priv->child_item == NULL) { priv->child_item = gal_a11y_e_table_item_new (ATK_OBJECT (a11y),eti, 0); + g_return_if_fail (priv->child_item); priv->child_item->role = ATK_ROLE_TREE_TABLE; } } |