From 2f4028e7e02f241dc70cedd7761030a9e786294f Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 28 Apr 2005 10:00:29 +0000 Subject: setup the profiling plugin hook if profiling is compiled in. 2005-04-28 Not Zed * main.c (main): setup the profiling plugin hook if profiling is compiled in. svn path=/trunk/; revision=29241 --- shell/ChangeLog | 5 +++++ shell/main.c | 4 ++++ 2 files changed, 9 insertions(+) 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 + + * main.c (main): setup the profiling plugin hook if profiling is + compiled in. + 2005-04-06 Yong Sun * 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 #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(); } -- cgit v1.2.3