From 2a54f0a220d86b271901697ce938b30c2f3ca41a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 8 May 2009 09:45:58 -0400 Subject: Adapt calendar to EShellBackend changes. --- addressbook/gui/component/e-book-shell-migrate.c | 2 +- addressbook/gui/component/e-book-shell-sidebar.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'addressbook') diff --git a/addressbook/gui/component/e-book-shell-migrate.c b/addressbook/gui/component/e-book-shell-migrate.c index 2b775fd95e..08ade1f6f3 100644 --- a/addressbook/gui/component/e-book-shell-migrate.c +++ b/addressbook/gui/component/e-book-shell-migrate.c @@ -1,5 +1,5 @@ /* - * e-book-shell-module-migrate.c + * e-book-shell-backend-migrate.c * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/addressbook/gui/component/e-book-shell-sidebar.c b/addressbook/gui/component/e-book-shell-sidebar.c index fc45f3367c..f804b5aeed 100644 --- a/addressbook/gui/component/e-book-shell-sidebar.c +++ b/addressbook/gui/component/e-book-shell-sidebar.c @@ -83,7 +83,6 @@ book_shell_sidebar_constructed (GObject *object) EShellView *shell_view; EShellBackend *shell_backend; EShellSidebar *shell_sidebar; - EBookShellBackend *book_shell_backend; ESourceList *source_list; GtkContainer *container; GtkWidget *widget; @@ -96,8 +95,9 @@ book_shell_sidebar_constructed (GObject *object) shell_sidebar = E_SHELL_SIDEBAR (object); shell_view = e_shell_sidebar_get_shell_view (shell_sidebar); shell_backend = e_shell_view_get_shell_backend (shell_view); - book_shell_backend = E_BOOK_SHELL_BACKEND (shell_backend); - source_list = e_book_shell_backend_get_source_list (book_shell_backend); + + source_list = e_book_shell_backend_get_source_list ( + E_BOOK_SHELL_BACKEND (shell_backend)); container = GTK_CONTAINER (shell_sidebar); -- cgit