(From update of attachment 292112)
I think Vlad's comment is wrong, if you do that, ensure_lib* will skip loading the libraries.
I think the code as written is correct, but confusing. ensure_lib* should not check gTriedToLoadGnomeLibs internally. Instead InitWithGnome should just check it and only call ensure_lib* if it's not set.
Having said that, I think we could land the patch as-is for beta2.
(From update of attachment 292112)
I think Vlad's comment is wrong, if you do that, ensure_lib* will skip loading the libraries.
I think the code as written is correct, but confusing. ensure_lib* should not check gTriedToLoadGno meLibs internally. Instead InitWithGnome should just check it and only call ensure_lib* if it's not set.
Having said that, I think we could land the patch as-is for beta2.