aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-02-19 03:35:29 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-02-19 03:39:08 +0800
commit61e2e0005520a20913d8271b5bc80ca94a594671 (patch)
treeb1f81f339464c4c40f922755768173511180790b /modules
parentc3ea33df618adcf49fc4294454e1ea1745544a62 (diff)
downloadgsoc2013-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.c6
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);