Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-debug.c')
-rw-r--r--libdocument/ev-debug.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libdocument/ev-debug.c b/libdocument/ev-debug.c
index 911521b..48cbf5d 100644
--- a/libdocument/ev-debug.c
+++ b/libdocument/ev-debug.c
@@ -65,11 +65,10 @@ profile_init ()
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,