aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-shell-backend.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 /mail/e-mail-shell-backend.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 'mail/e-mail-shell-backend.c')
-rw-r--r--mail/e-mail-shell-backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-shell-backend.c b/mail/e-mail-shell-backend.c
index 56f7422f5c..0d0521ebc0 100644
--- a/mail/e-mail-shell-backend.c
+++ b/mail/e-mail-shell-backend.c
@@ -829,7 +829,7 @@ mail_shell_backend_window_created_cb (EShell *shell,
if (!E_IS_SHELL_WINDOW (window))
return;
- backend_name = G_TYPE_MODULE (shell_backend)->name;
+ backend_name = E_SHELL_BACKEND_GET_CLASS (shell_backend)->name;
e_shell_window_register_new_item_actions (
E_SHELL_WINDOW (window), backend_name,
@@ -1012,11 +1012,11 @@ mail_shell_backend_class_init (EMailShellBackendClass *class)
object_class->constructed = mail_shell_backend_constructed;
shell_backend_class = E_SHELL_BACKEND_CLASS (class);
+ shell_backend_class->shell_view_type = E_TYPE_MAIL_SHELL_VIEW;
shell_backend_class->name = BACKEND_NAME;
shell_backend_class->aliases = "";
shell_backend_class->schemes = "mailto:email";
shell_backend_class->sort_order = 200;
- shell_backend_class->view_type = E_TYPE_MAIL_SHELL_VIEW;
shell_backend_class->start = mail_shell_backend_start;
shell_backend_class->is_busy = NULL;
shell_backend_class->shutdown = NULL;