From 1047848935ff20342a1ced37553ba89d710378d5 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 1 Jun 2013 00:44:44 -0400 Subject: GnomeCalendar: Get rid of the async message dispatcher. Obtain calendar views asynchronously and concurrently, and update the task and memo pads synchronously (they don't block as best I can tell). Get rid of the whole thread-pool message dispatching thing, which I think I myself wrote years ago (calendar had no async API back then). Consequently I'm seeing calendar events show up noticably quicker. --- modules/calendar/e-cal-shell-view-private.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/calendar') diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c index f8d455edb5..a03da0463f 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -586,10 +586,8 @@ e_cal_shell_view_private_constructed (ECalShellView *cal_shell_view) /* Give GnomeCalendar a handle to the date navigator, memo and task table. */ gnome_calendar_set_date_navigator (calendar, date_navigator); - gnome_calendar_set_memo_table ( - calendar, memo_table ? GTK_WIDGET (memo_table) : NULL); - gnome_calendar_set_task_table ( - calendar, task_table ? GTK_WIDGET (task_table) : NULL); + gnome_calendar_set_memo_table (calendar, GTK_WIDGET (memo_table)); + gnome_calendar_set_task_table (calendar, GTK_WIDGET (task_table)); e_calendar_item_set_get_time_callback ( date_navigator->calitem, (ECalendarItemGetTimeCallback) -- cgit v1.2.3