aboutsummaryrefslogtreecommitdiffstats
path: root/a11y
diff options
context:
space:
mode:
authorLi Yuan <liyuan@tackle>2007-07-23 12:45:11 +0800
committerLi Yuan <liyuan@src.gnome.org>2007-07-23 12:45:11 +0800
commita4b7f458fea3179f558b222288deac6e858eb61c (patch)
treec8ad51c7edc2ad4113368ef9e645cd6c9ac19c10 /a11y
parent801c184439352329f44ed88a1227c10749b24920 (diff)
downloadgsoc2013-evolution-a4b7f458fea3179f558b222288deac6e858eb61c.tar
gsoc2013-evolution-a4b7f458fea3179f558b222288deac6e858eb61c.tar.gz
gsoc2013-evolution-a4b7f458fea3179f558b222288deac6e858eb61c.tar.bz2
gsoc2013-evolution-a4b7f458fea3179f558b222288deac6e858eb61c.tar.lz
gsoc2013-evolution-a4b7f458fea3179f558b222288deac6e858eb61c.tar.xz
gsoc2013-evolution-a4b7f458fea3179f558b222288deac6e858eb61c.tar.zst
gsoc2013-evolution-a4b7f458fea3179f558b222288deac6e858eb61c.zip
Bug #459413. Just return NULL if parent has gone.
2007-07-19 Li Yuan <liyuan@tackle> * calendar/ea-day-view-main-item.c: (ea_day_view_main_item_get_name): Bug #459413. Just return NULL if parent has gone. svn path=/trunk/; revision=33831
Diffstat (limited to 'a11y')
-rw-r--r--a11y/ChangeLog6
-rw-r--r--a11y/calendar/ea-day-view-main-item.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/a11y/ChangeLog b/a11y/ChangeLog
index 0846e68111..8484ee11e0 100644
--- a/a11y/ChangeLog
+++ b/a11y/ChangeLog
@@ -1,3 +1,9 @@
+2007-07-19 Li Yuan <liyuan@tackle>
+
+ * calendar/ea-day-view-main-item.c:
+ (ea_day_view_main_item_get_name):
+ Bug #459413. Just return NULL if parent has gone.
+
2007-04-19 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #429422
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);
}