diff options
Diffstat (limited to 'calendar/month-view.c')
-rw-r--r-- | calendar/month-view.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/calendar/month-view.c b/calendar/month-view.c index 16e6c72e8a..4d1a9bf967 100644 --- a/calendar/month-view.c +++ b/calendar/month-view.c @@ -66,7 +66,7 @@ month_view_init (MonthView *mv) { /* Title */ - mv->title = gnome_canvas_item_new (GNOME_CANVAS_GROUP (mv->canvas.root), + mv->title = gnome_canvas_item_new (gnome_canvas_root (GNOME_CANVAS (mv)), gnome_canvas_text_get_type (), "anchor", GTK_ANCHOR_N, "font", "-*-helvetica-bold-r-normal--18-*-*-*-p-*-iso8859-1", @@ -75,7 +75,7 @@ month_view_init (MonthView *mv) /* Month item */ - mv->mitem = gnome_month_item_new (GNOME_CANVAS_GROUP (mv->canvas.root)); + mv->mitem = gnome_month_item_new (gnome_canvas_root (GNOME_CANVAS (mv))); gnome_canvas_item_set (mv->mitem, "x", 0.0, "anchor", GTK_ANCHOR_NW, @@ -205,3 +205,13 @@ month_view_time_format_changed (MonthView *mv) /* FIXME: update events */ } + +void +month_view_colors_changed (MonthView *mv) +{ + g_return_if_fail (mv != NULL); + g_return_if_fail (IS_MONTH_VIEW (mv)); + + unmark_month_item (mv->mitem); + /* FIXME */ +} |