aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-task-shell-module.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/modules/e-task-shell-module.c')
-rw-r--r--calendar/modules/e-task-shell-module.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/calendar/modules/e-task-shell-module.c b/calendar/modules/e-task-shell-module.c
index c5f268d131..9ed38b0cad 100644
--- a/calendar/modules/e-task-shell-module.c
+++ b/calendar/modules/e-task-shell-module.c
@@ -486,10 +486,9 @@ e_shell_module_init (GTypeModule *type_module)
shell_module = E_SHELL_MODULE (type_module);
shell = e_shell_module_get_shell (shell_module);
- /* Register the GType for ETaskShellView. */
- e_task_shell_view_get_type (type_module);
-
- e_shell_module_set_info (shell_module, &module_info);
+ e_shell_module_set_info (
+ shell_module, &module_info,
+ e_task_shell_view_get_type (type_module));
task_module_ensure_sources (shell_module);