aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/ea-week-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/ea-week-view.c')
-rw-r--r--calendar/gui/ea-week-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/ea-week-view.c b/calendar/gui/ea-week-view.c
index 19028cf189..fcbae83cb7 100644
--- a/calendar/gui/ea-week-view.c
+++ b/calendar/gui/ea-week-view.c
@@ -242,7 +242,7 @@ ea_week_view_get_n_children (AtkObject *accessible)
/* add the number of visible jump buttons */
for (i = 0; i < E_WEEK_VIEW_MAX_WEEKS * 7; i++) {
- if (week_view->jump_buttons[i]->flags & GNOME_CANVAS_ITEM_VISIBLE)
+ if (week_view->jump_buttons[i]->object.flags & GNOME_CANVAS_ITEM_VISIBLE)
++count;
}