mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
dbusServices/screencast: Use GTK4
The separate screencast service has some minimal GTK usage, which we can trivially move to GTK4. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1591>
This commit is contained in:
parent
62baf524af
commit
2e9a2e68b7
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue