From 78c17e7c97f2b5c79a271f0acb5b441940b74049 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Thu, 4 Apr 2024 07:36:05 -0400 Subject: [PATCH] Use GioUnix in test fixtures, too --- installed-tests/fixtures/backend.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/installed-tests/fixtures/backend.js b/installed-tests/fixtures/backend.js index e126c35e7..cec523a21 100644 --- a/installed-tests/fixtures/backend.js +++ b/installed-tests/fixtures/backend.js @@ -5,6 +5,7 @@ 'use strict'; const Gio = imports.gi.Gio; +const GioUnix = imports.gi.GioUnix; const GLib = imports.gi.GLib; const GObject = imports.gi.GObject; @@ -127,7 +128,7 @@ var ChannelService = GObject.registerClass({ // Input stream this._udp6_stream = new Gio.DataInputStream({ - base_stream: new Gio.UnixInputStream({ + base_stream: new GioUnix.InputStream({ fd: this._udp6.fd, close_fd: false, }), @@ -159,7 +160,7 @@ var ChannelService = GObject.registerClass({ // Input stream this._udp4_stream = new Gio.DataInputStream({ - base_stream: new Gio.UnixInputStream({ + base_stream: new GioUnix.InputStream({ fd: this._udp4.fd, close_fd: false, }),