Skip to content

Commit 70ed558

Browse files
committed
fix(gjs): app.launch
1 parent 3cf849f commit 70ed558

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lang/gjs/src/gtk4/app.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import { mkApp } from "../_app"
44

55
Gtk.init()
66

7+
// stop this from leaking into subprocesses
8+
// and gio launch invocations
9+
GLib.unsetenv("LD_PRELOAD")
10+
711
// users might want to use Adwaita in which case it has to be initialized
812
// it might be common pitfall to forget it because `App` is not `Adw.Application`
913
await import("gi://Adw?version=1")

0 commit comments

Comments
 (0)