diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-19 03:35:29 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-19 03:39:08 +0800 |
commit | 61e2e0005520a20913d8271b5bc80ca94a594671 (patch) | |
tree | b1f81f339464c4c40f922755768173511180790b /modules | |
parent | c3ea33df618adcf49fc4294454e1ea1745544a62 (diff) | |
download | gsoc2013-evolution-61e2e0005520a20913d8271b5bc80ca94a594671.tar gsoc2013-evolution-61e2e0005520a20913d8271b5bc80ca94a594671.tar.gz gsoc2013-evolution-61e2e0005520a20913d8271b5bc80ca94a594671.tar.bz2 gsoc2013-evolution-61e2e0005520a20913d8271b5bc80ca94a594671.tar.lz gsoc2013-evolution-61e2e0005520a20913d8271b5bc80ca94a594671.tar.xz gsoc2013-evolution-61e2e0005520a20913d8271b5bc80ca94a594671.tar.zst gsoc2013-evolution-61e2e0005520a20913d8271b5bc80ca94a594671.zip |
ECalendarSelector: Inherit from EClientSelector.
Use e_client_selector_get_client() to obtain an EClient.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/calendar/e-cal-shell-sidebar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c index fc6c0ddde0..650b48b0b9 100644 --- a/modules/calendar/e-cal-shell-sidebar.c +++ b/modules/calendar/e-cal-shell-sidebar.c @@ -533,7 +533,7 @@ cal_shell_sidebar_constructed (GObject *object) EShellBackend *shell_backend; EShellSidebar *shell_sidebar; EShellSettings *shell_settings; - ESourceRegistry *registry; + EClientCache *client_cache; ECalendarItem *calitem; GtkWidget *container; GtkWidget *widget; @@ -589,8 +589,8 @@ cal_shell_sidebar_constructed (GObject *object) container = widget; - registry = e_shell_get_registry (shell); - widget = e_calendar_selector_new (registry); + client_cache = e_shell_get_client_cache (shell); + widget = e_calendar_selector_new (client_cache); e_source_selector_set_select_new (E_SOURCE_SELECTOR (widget), TRUE); gtk_container_add (GTK_CONTAINER (container), widget); a11y = gtk_widget_get_accessible (widget); |