From 63a440062eac0b42d26b14101ac5932ccefaebe9 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Fri, 31 Jan 2025 14:42:37 -0500 Subject: [PATCH] Use GioUnix.OutputStream --- src/prefs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/prefs.js b/src/prefs.js index f4a760d..daead65 100644 --- a/src/prefs.js +++ b/src/prefs.js @@ -22,6 +22,7 @@ import GdkPixbuf from 'gi://GdkPixbuf' import Gio from 'gi://Gio' +import GioUnix from 'gi://GioUnix' import GLib from 'gi://GLib' import GObject from 'gi://GObject' import Gtk from 'gi://Gtk' @@ -3474,7 +3475,7 @@ const Preferences = class { null, ) - stdin = new Gio.UnixOutputStream({ fd: stdin, close_fd: true }) + stdin = new GioUnix.OutputStream({ fd: stdin, close_fd: true }) GLib.close(stdout) GLib.close(stderr)