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, }),