diff --git a/src/main.js b/src/main.js index 6230f765..f933a725 100644 --- a/src/main.js +++ b/src/main.js @@ -2,8 +2,11 @@ imports.gi.versions.Gdk = '4.0'; imports.gi.versions.Gtk = '4.0'; imports.gi.versions.Soup = '2.4'; -const { Gst } = imports.gi; +const { Gst, Gtk, Adw } = imports.gi; + Gst.init(null); +Gtk.init(); +Adw.init(); const { App } = imports.src.app; diff --git a/src/mainRemote.js b/src/mainRemote.js index edc8c736..c0fe0284 100644 --- a/src/mainRemote.js +++ b/src/mainRemote.js @@ -2,6 +2,11 @@ imports.gi.versions.Gdk = '4.0'; imports.gi.versions.Gtk = '4.0'; imports.gi.versions.Soup = '2.4'; +const { Gtk, Adw } = imports.gi; + +Gtk.init(); +Adw.init(); + const { AppRemote } = imports.src.appRemote; const Misc = imports.src.misc;