diff options
-rw-r--r-- | lang/gjs/src/gtk4/app.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/gjs/src/gtk4/app.ts b/lang/gjs/src/gtk4/app.ts index 7906993..ab257eb 100644 --- a/lang/gjs/src/gtk4/app.ts +++ b/lang/gjs/src/gtk4/app.ts @@ -4,6 +4,10 @@ import { mkApp } from "../_app" Gtk.init() +// stop this from leaking into subprocesses +// and gio launch invocations +GLib.unsetenv("LD_PRELOAD") + // users might want to use Adwaita in which case it has to be initialized // it might be common pitfall to forget it because `App` is not `Adw.Application` await import("gi://Adw?version=1") |