diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-19 03:58:48 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-19 03:58:48 +0800 |
commit | ac7c1d3c75d67bfd365af0547e0a63571d6270c9 (patch) | |
tree | a681998805eb40a543ca0f97d29c2cc68303f807 /modules | |
parent | 92a3fce79c8acb244bcaf23d22e38e3f21f80c36 (diff) | |
download | gsoc2013-evolution-ac7c1d3c75d67bfd365af0547e0a63571d6270c9.tar.gz gsoc2013-evolution-ac7c1d3c75d67bfd365af0547e0a63571d6270c9.tar.zst gsoc2013-evolution-ac7c1d3c75d67bfd365af0547e0a63571d6270c9.zip |
ETaskListSelector: Inherit from EClientSelector.
Use e_client_selector_get_client() to obtain an EClient.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/calendar/e-task-shell-sidebar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar/e-task-shell-sidebar.c b/modules/calendar/e-task-shell-sidebar.c index bdd5c4d819..143f59ac6a 100644 --- a/modules/calendar/e-task-shell-sidebar.c +++ b/modules/calendar/e-task-shell-sidebar.c @@ -495,7 +495,7 @@ task_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 @@ task_shell_sidebar_constructed (GObject *object) container = GTK_CONTAINER (widget); - registry = e_shell_get_registry (shell); - widget = e_task_list_selector_new (registry); + client_cache = e_shell_get_client_cache (shell); + widget = e_task_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); |