week-view: make it a template class
Made changes to make the week-view into a template class.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
383cd818e9
commit
16fac7c3a0
@@ -437,6 +437,7 @@ update_current_date (GcalWindow *window)
|
||||
*(window->current_date) = icaltime_current_time_with_zone (gcal_manager_get_system_timezone (window->manager));
|
||||
*(window->current_date) = icaltime_set_timezone (window->current_date, gcal_manager_get_system_timezone (window->manager));
|
||||
|
||||
gcal_week_view_set_current_date (GCAL_WEEK_VIEW (window->week_view), window->current_date);
|
||||
gcal_month_view_set_current_date (GCAL_MONTH_VIEW (window->month_view), window->current_date);
|
||||
gcal_year_view_set_current_date (GCAL_YEAR_VIEW (window->year_view), window->current_date);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user