aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-02-19 03:50:01 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-02-19 03:50:01 +0800
commit92a3fce79c8acb244bcaf23d22e38e3f21f80c36 (patch)
tree77ae0b13721c71f4fa4dc0c914048c29f34062dc /modules/calendar
parent61e2e0005520a20913d8271b5bc80ca94a594671 (diff)
downloadgsoc2013-evolution-92a3fce79c8acb244bcaf23d22e38e3f21f80c36.tar.gz
gsoc2013-evolution-92a3fce79c8acb244bcaf23d22e38e3f21f80c36.tar.zst
gsoc2013-evolution-92a3fce79c8acb244bcaf23d22e38e3f21f80c36.zip
EMemoListSelector: Inherit from EClientSelector.
Use e_client_selector_get_client() to obtain an EClient.
Diffstat (limited to 'modules/calendar')
-rw-r--r--modules/calendar/e-memo-shell-sidebar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c
index 74942fa5fd..3040c2ccc1 100644
--- a/modules/calendar/e-memo-shell-sidebar.c
+++ b/modules/calendar/e-memo-shell-sidebar.c
@@ -495,7 +495,7 @@ memo_shell_sidebar_constructed (GObject *object)
EShellView *shell_view;
EShellWindow *shell_window;
EShellSidebar *shell_sidebar;
- ESourceRegistry *registry;
+ EClientCache *client_cache;
GtkContainer *container;
GtkWidget *widget;
AtkObject *a11y;
@@ -523,8 +523,8 @@ memo_shell_sidebar_constructed (GObject *object)
container = GTK_CONTAINER (widget);
- registry = e_shell_get_registry (shell);
- widget = e_memo_list_selector_new (registry);
+ client_cache = e_shell_get_client_cache (shell);
+ widget = e_memo_list_selector_new (client_cache);
e_source_selector_set_select_new (E_SOURCE_SELECTOR (widget), TRUE);
gtk_container_add (container, widget);
a11y = gtk_widget_get_accessible (widget);