From 92a3fce79c8acb244bcaf23d22e38e3f21f80c36 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 18 Feb 2013 14:50:01 -0500 Subject: EMemoListSelector: Inherit from EClientSelector. Use e_client_selector_get_client() to obtain an EClient. --- modules/calendar/e-memo-shell-sidebar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/calendar/e-memo-shell-sidebar.c') 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); -- cgit