Skip to content

Commit

Permalink
Use GioUnix in test fixtures, too
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Apr 8, 2024
1 parent e4ae568 commit f0d35f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions installed-tests/fixtures/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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,
}),
Expand Down Expand Up @@ -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,
}),
Expand Down

0 comments on commit f0d35f9

Please sign in to comment.