From 2e9a2e68b7aa14a4147d0a18f1544e35d8c27b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 20 Jan 2021 02:48:24 +0100 Subject: [PATCH] dbusServices/screencast: Use GTK4 The separate screencast service has some minimal GTK usage, which we can trivially move to GTK4. Part-of: --- js/dbusServices/screencast/screencastService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/dbusServices/screencast/screencastService.js b/js/dbusServices/screencast/screencastService.js index 9ede9b541..94e6f8f9c 100644 --- a/js/dbusServices/screencast/screencastService.js +++ b/js/dbusServices/screencast/screencastService.js @@ -1,7 +1,7 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- /* exported ScreencastService */ -imports.gi.versions.Gtk = '3.0'; +imports.gi.versions.Gtk = '4.0'; const { Gio, GLib, Gst, Gtk } = imports.gi; @@ -246,7 +246,7 @@ var ScreencastService = class extends ServiceImplementation { super(ScreencastIface, '/org/gnome/Shell/Screencast'); Gst.init(null); - Gtk.init(null); + Gtk.init(); this._recorders = new Map(); this._senders = new Map();