Skip to content
  • Philip Chimento's avatar
    foreign: Use gjs_eval_with_scope() instead of public API · 43e11fcd
    Philip Chimento authored
    It was probably a bad idea already to use the public gjs_context_eval()
    API to import the foreign cairo module, since it didn't handle the GError
    in the error case.
    
    Now, since we intend to run the profiler from the public API point, it's
    a bad idea to use it internally. Use gjs_eval_with_scope() instead.
    43e11fcd