diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-01 12:44:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-01 22:29:46 +0800 |
commit | 6f01a0a4aa472fbaa70e75c4d5ac14a87c3eac84 (patch) | |
tree | 98bb111f051b8463fbc613f2a94da9adf421f8a5 /modules/calendar | |
parent | 8920472e46ae49859f36e31e18037c065ee73197 (diff) | |
download | gsoc2013-evolution-6f01a0a4aa472fbaa70e75c4d5ac14a87c3eac84.tar gsoc2013-evolution-6f01a0a4aa472fbaa70e75c4d5ac14a87c3eac84.tar.gz gsoc2013-evolution-6f01a0a4aa472fbaa70e75c4d5ac14a87c3eac84.tar.bz2 gsoc2013-evolution-6f01a0a4aa472fbaa70e75c4d5ac14a87c3eac84.tar.lz gsoc2013-evolution-6f01a0a4aa472fbaa70e75c4d5ac14a87c3eac84.tar.xz gsoc2013-evolution-6f01a0a4aa472fbaa70e75c4d5ac14a87c3eac84.tar.zst gsoc2013-evolution-6f01a0a4aa472fbaa70e75c4d5ac14a87c3eac84.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.
(cherry picked from commit 1047848935ff20342a1ced37553ba89d710378d5)
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-cal-shell-view-private.c | 6 |
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 02e5e97bb9..b0757b0080 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -610,10 +610,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) |