diff options
Diffstat (limited to 'a11y/e-table/gal-a11y-e-cell-popup.c')
-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, |