diff options
author | Not Zed <NotZed@Ximian.com> | 2005-04-28 18:00:29 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-04-28 18:00:29 +0800 |
commit | 2f4028e7e02f241dc70cedd7761030a9e786294f (patch) | |
tree | 4071c41588692a3632cc56401d5636f39dd3e7c3 /shell | |
parent | d46731bf2070fce02c467cc71edcdccc9037becb (diff) | |
download | gsoc2013-evolution-2f4028e7e02f241dc70cedd7761030a9e786294f.tar.gz gsoc2013-evolution-2f4028e7e02f241dc70cedd7761030a9e786294f.tar.zst gsoc2013-evolution-2f4028e7e02f241dc70cedd7761030a9e786294f.zip |
setup the profiling plugin hook if profiling is compiled in.
2005-04-28 Not Zed <NotZed@Ximian.com>
* main.c (main): setup the profiling plugin hook if profiling is
compiled in.
svn path=/trunk/; revision=29241
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/main.c | 4 |
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(); } |