diff options
Diffstat (limited to 'a11y/calendar')
-rw-r--r-- | a11y/calendar/ea-day-view-main-item.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/a11y/calendar/ea-day-view-main-item.c b/a11y/calendar/ea-day-view-main-item.c index f3f43c9a6f..2699b457a9 100644 --- a/a11y/calendar/ea-day-view-main-item.c +++ b/a11y/calendar/ea-day-view-main-item.c @@ -290,6 +290,10 @@ ea_day_view_main_item_get_name (AtkObject *accessible) AtkObject *parent; g_return_val_if_fail (EA_IS_DAY_VIEW_MAIN_ITEM (accessible), NULL); parent = atk_object_get_parent (accessible); + + if (!parent) + return NULL; + return atk_object_get_name (parent); } |