aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-01 12:44:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-01 18:33:22 +0800
commit1047848935ff20342a1ced37553ba89d710378d5 (patch)
treefefad3f367d0420ffd934275022ccb70823c0615 /modules
parentafdbd662d1586a83982d63b355c3852ff47be651 (diff)
downloadgsoc2013-evolution-1047848935ff20342a1ced37553ba89d710378d5.tar
gsoc2013-evolution-1047848935ff20342a1ced37553ba89d710378d5.tar.gz
gsoc2013-evolution-1047848935ff20342a1ced37553ba89d710378d5.tar.bz2
gsoc2013-evolution-1047848935ff20342a1ced37553ba89d710378d5.tar.lz
gsoc2013-evolution-1047848935ff20342a1ced37553ba89d710378d5.tar.xz
gsoc2013-evolution-1047848935ff20342a1ced37553ba89d710378d5.tar.zst
gsoc2013-evolution-1047848935ff20342a1ced37553ba89d710378d5.zip
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.
Diffstat (limited to 'modules')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c6
1 files changed, 2 insertions, 4 deletions
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)