diff options
author | Bolian Yin <byin@src.gnome.org> | 2003-12-08 18:04:38 +0800 |
---|---|---|
committer | Bolian Yin <byin@src.gnome.org> | 2003-12-08 18:04:38 +0800 |
commit | e3e2bafd795437a5ad7139d9427b1aefa1e59822 (patch) | |
tree | a225ed7c804f0b07f935b0ce102dab9bd825ff5f | |
parent | ceb9cedfc48b4537e5e84e9bc80f26c06ba943c1 (diff) | |
download | gsoc2013-evolution-e3e2bafd795437a5ad7139d9427b1aefa1e59822.tar.gz gsoc2013-evolution-e3e2bafd795437a5ad7139d9427b1aefa1e59822.tar.zst gsoc2013-evolution-e3e2bafd795437a5ad7139d9427b1aefa1e59822.zip |
A small fix from Andrew Wu.
svn path=/trunk/; revision=23671
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-popup.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/a11y/e-table/gal-a11y-e-cell-popup.c b/a11y/e-table/gal-a11y-e-cell-popup.c index b1485fd42a..88325e726e 100644 --- a/a11y/e-table/gal-a11y-e-cell-popup.c +++ b/a11y/e-table/gal-a11y-e-cell-popup.c @@ -91,11 +91,14 @@ gal_a11y_e_cell_popup_new (ETableItem *item, AtkObject *a11y; GalA11yECell *cell; ECellPopup *popupcell; + ECellView* child_view = NULL; - g_return_val_if_fail (a11y != NULL, NULL); popupcell= E_CELL_POPUP(cell_view->ecell); - ECellView* child_view =popupcell->popup_cell_view->child_view; - if (child_view->ecell) { + + if (popupcell && popupcell->popup_cell_view) + child_view = popupcell->popup_cell_view->child_view; + + if (child_view && child_view->ecell) { a11y = gal_a11y_e_cell_registry_get_object (NULL, item, child_view, |