diff options
Diffstat (limited to 'calendar/modules/e-task-shell-backend.c')
-rw-r--r-- | calendar/modules/e-task-shell-backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/modules/e-task-shell-backend.c b/calendar/modules/e-task-shell-backend.c index 6a89a27938..3298764df3 100644 --- a/calendar/modules/e-task-shell-backend.c +++ b/calendar/modules/e-task-shell-backend.c @@ -487,7 +487,7 @@ task_module_window_created_cb (EShellBackend *shell_backend, if (!E_IS_SHELL_WINDOW (window)) return; - module_name = G_TYPE_MODULE (shell_backend)->name; + module_name = E_SHELL_BACKEND_GET_CLASS (shell_backend)->name; e_shell_window_register_new_item_actions ( E_SHELL_WINDOW (window), module_name, @@ -567,11 +567,11 @@ task_shell_backend_class_init (ETaskShellBackendClass *class) object_class->constructed = task_shell_backend_constructed; shell_backend_class = E_SHELL_BACKEND_CLASS (class); + shell_backend_class->shell_view_type = E_TYPE_TASK_SHELL_VIEW; shell_backend_class->name = "tasks"; shell_backend_class->aliases = ""; shell_backend_class->schemes = "task"; shell_backend_class->sort_order = 600; - shell_backend_class->view_type = E_TYPE_TASK_SHELL_VIEW; shell_backend_class->start = NULL; shell_backend_class->is_busy = NULL; shell_backend_class->shutdown = NULL; |