X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-debug.c;h=48cbf5dda5418b6232e99d6c744ea075014aa7f3;hb=13948dea9658bd64604cd71d8913583afb88776a;hp=911521bcc986387a473a27e821d38d81a93e9a5f;hpb=597433bc874ff2cf5cb9f9de4e053db47837e042;p=evince.git diff --git a/libdocument/ev-debug.c b/libdocument/ev-debug.c index 911521bc..48cbf5dd 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,