diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-07 20:06:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-07 20:06:09 +0800 |
commit | 84080821d62db3358fcaee4adfc24782ed7d4318 (patch) | |
tree | 5ea85fa01632d055e41ea45a71906067d5030528 /addressbook/gui/component/e-book-shell-view-private.c | |
parent | caa862135195b828d2e8355436fdd6eb0ec2443e (diff) | |
download | gsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.tar gsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.tar.gz gsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.tar.bz2 gsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.tar.lz gsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.tar.xz gsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.tar.zst gsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.zip |
Adapt addressbook to EShellBackend changes.
Builds, but not tested. Use as a reference for other backends.
Diffstat (limited to 'addressbook/gui/component/e-book-shell-view-private.c')
-rw-r--r-- | addressbook/gui/component/e-book-shell-view-private.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/addressbook/gui/component/e-book-shell-view-private.c b/addressbook/gui/component/e-book-shell-view-private.c index 1fe372a05b..5f9bb4c5db 100644 --- a/addressbook/gui/component/e-book-shell-view-private.c +++ b/addressbook/gui/component/e-book-shell-view-private.c @@ -402,7 +402,6 @@ e_book_shell_view_private_init (EBookShellView *book_shell_view, EBookShellViewPrivate *priv = book_shell_view->priv; GHashTable *uid_to_view; GHashTable *uid_to_editor; - GObject *object; uid_to_view = g_hash_table_new_full ( g_str_hash, g_str_equal, @@ -431,13 +430,13 @@ e_book_shell_view_private_constructed (EBookShellView *book_shell_view) EBookShellViewPrivate *priv = book_shell_view->priv; EShellContent *shell_content; EShellSidebar *shell_sidebar; - EShellModule *shell_module; + EShellBackend *shell_backend; EShellView *shell_view; EShellWindow *shell_window; ESourceSelector *selector; shell_view = E_SHELL_VIEW (book_shell_view); - shell_module = e_shell_view_get_shell_module (shell_view); + shell_backend = e_shell_view_get_shell_backend (shell_view); shell_content = e_shell_view_get_shell_content (shell_view); shell_sidebar = e_shell_view_get_shell_sidebar (shell_view); shell_window = e_shell_view_get_shell_window (shell_view); @@ -446,7 +445,7 @@ e_book_shell_view_private_constructed (EBookShellView *book_shell_view) e_shell_window_add_action_group (shell_window, "contacts-filter"); /* Cache these to avoid lots of awkward casting. */ - priv->book_shell_module = g_object_ref (shell_module); + priv->book_shell_backend = g_object_ref (shell_backend); priv->book_shell_content = g_object_ref (shell_content); priv->book_shell_sidebar = g_object_ref (shell_sidebar); @@ -487,7 +486,7 @@ e_book_shell_view_private_dispose (EBookShellView *book_shell_view) { EBookShellViewPrivate *priv = book_shell_view->priv; - DISPOSE (priv->book_shell_module); + DISPOSE (priv->book_shell_backend); DISPOSE (priv->book_shell_content); DISPOSE (priv->book_shell_sidebar); |