aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/ea-day-view.c2
-rw-r--r--calendar/gui/ea-week-view.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/calendar/gui/ea-day-view.c b/calendar/gui/ea-day-view.c
index 991a78e92d..47969205a8 100644
--- a/calendar/gui/ea-day-view.c
+++ b/calendar/gui/ea-day-view.c
@@ -137,8 +137,6 @@ ea_day_view_get_name (AtkObject *accessible)
day_view = E_DAY_VIEW (widget);
gcal = e_calendar_view_get_calendar (E_CALENDAR_VIEW (day_view));
- if (!gtk_widget_get_visible (GTK_WIDGET (gcal)))
- return NULL;
label_text = ea_gnome_calendar_get_label_description (gcal);
diff --git a/calendar/gui/ea-week-view.c b/calendar/gui/ea-week-view.c
index 19028cf189..e6683f5ddd 100644
--- a/calendar/gui/ea-week-view.c
+++ b/calendar/gui/ea-week-view.c
@@ -138,8 +138,6 @@ ea_week_view_get_name (AtkObject *accessible)
week_view = E_WEEK_VIEW (widget);
gcal = e_calendar_view_get_calendar (E_CALENDAR_VIEW (week_view));
- if (!gtk_widget_get_visible (GTK_WIDGET (gcal)))
- return NULL;
label_text = ea_gnome_calendar_get_label_description (gcal);