aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-memo-shell-module.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/modules/e-memo-shell-module.c')
-rw-r--r--calendar/modules/e-memo-shell-module.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/calendar/modules/e-memo-shell-module.c b/calendar/modules/e-memo-shell-module.c
index 7f6df49691..9f6c45b695 100644
--- a/calendar/modules/e-memo-shell-module.c
+++ b/calendar/modules/e-memo-shell-module.c
@@ -480,10 +480,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 EMemoShellView. */
- e_memo_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_memo_shell_view_get_type (type_module));
memo_module_ensure_sources (shell_module);