aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/e-book-shell-module.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/e-book-shell-module.c')
-rw-r--r--addressbook/gui/component/e-book-shell-module.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/addressbook/gui/component/e-book-shell-module.c b/addressbook/gui/component/e-book-shell-module.c
index 276e6f0a24..fbe660b7b6 100644
--- a/addressbook/gui/component/e-book-shell-module.c
+++ b/addressbook/gui/component/e-book-shell-module.c
@@ -424,10 +424,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 EBookShellView. */
- e_book_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_book_shell_view_get_type (type_module));
book_shell_module_init_importers ();
book_shell_module_ensure_sources (shell_module);