aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/main.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index f0a8a3d375..29b00a7211 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-28 Not Zed <NotZed@Ximian.com>
+
+ * main.c (main): setup the profiling plugin hook if profiling is
+ compiled in.
+
2005-04-06 Yong Sun <Yong.Sun@Sun.COM>
* e-shell-importer.c: (get_name_from_component_info):
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();
}