2008-07-27 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-debug.c: (profile_init):
Create the hash table also when profiling service is enabled for
all sections.
svn path=/trunk/; revision=3087
+2008-07-27 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * libdocument/ev-debug.c: (profile_init):
+
+ Create the hash table also when profiling service is enabled for
+ all sections.
+
2008-07-27 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-debug.[ch]: (ev_profiler_start),
if (g_getenv ("EV_PROFILE") != NULL) {
/* enable all profiling */
ev_profile = ~EV_NO_PROFILE;
- return;
- }
-
- if (g_getenv ("EV_PROFILE_JOBS") != NULL)
- ev_profile |= EV_PROFILE_JOBS;
+ } else {
+ if (g_getenv ("EV_PROFILE_JOBS") != NULL)
+ ev_profile |= EV_PROFILE_JOBS;
+ }
if (ev_profile) {
timers = g_hash_table_new_full (g_str_hash,