aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-10 11:50:43 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-10 11:50:43 +0800
commit92e942499bffca812dcbc229f6c88ebb640e403a (patch)
tree88eff8cf45f83728f264c4f90582950452dee497 /shell/e-shell-window.c
parente18f9eb725e0be78db138e9eb0d58ed4d3370c82 (diff)
downloadgsoc2013-evolution-92e942499bffca812dcbc229f6c88ebb640e403a.tar
gsoc2013-evolution-92e942499bffca812dcbc229f6c88ebb640e403a.tar.gz
gsoc2013-evolution-92e942499bffca812dcbc229f6c88ebb640e403a.tar.bz2
gsoc2013-evolution-92e942499bffca812dcbc229f6c88ebb640e403a.tar.lz
gsoc2013-evolution-92e942499bffca812dcbc229f6c88ebb640e403a.tar.xz
gsoc2013-evolution-92e942499bffca812dcbc229f6c88ebb640e403a.tar.zst
gsoc2013-evolution-92e942499bffca812dcbc229f6c88ebb640e403a.zip
Fix bugs caused by EShellBackend changes.
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 5fdd2467bc..c39d856e32 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -52,7 +52,7 @@ shell_window_new_view (EShellBackend *shell_backend,
GType type;
name = E_SHELL_BACKEND_GET_CLASS (shell_backend)->name;
- type = E_SHELL_BACKEND_GET_CLASS (shell_backend)->view_type;
+ type = E_SHELL_BACKEND_GET_CLASS (shell_backend)->shell_view_type;
/* First off, start the shell backend. */
e_shell_backend_start (shell_backend);
@@ -66,9 +66,8 @@ shell_window_new_view (EShellBackend *shell_backend,
/* Create the shell view. */
shell_view = g_object_new (
- type, "action", action, "page-num", page_num,
- "shell-backend", shell_backend, "shell-window",
- shell_window, NULL);
+ type, "action", action, "page-num",page_num,
+ "shell-window", shell_window, NULL);
/* Register the shell view. */
loaded_views = shell_window->priv->loaded_views;