aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index c74a4c732c..44605041ff 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -30,6 +30,7 @@
#include <e-util/e-icon-factory.h>
#include "e-shell-constants.h"
+#include "e-util/e-profile-event.h"
#include "e-shell.h"
#include "es-menu.h"
@@ -593,6 +594,9 @@ main (int argc, char **argv)
e_plugin_register_type(e_plugin_lib_get_type());
e_plugin_hook_register_type(es_menu_hook_get_type());
e_plugin_hook_register_type(es_event_hook_get_type());
+#ifdef ENABLE_PROFILING
+ e_plugin_hook_register_type(e_profile_event_hook_get_type());
+#endif
e_plugin_load_plugins();
}