From 4c0fc1dac2a4de7c206b1b8c00d3dd9e97aad84d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Mon, 2 Aug 2021 12:28:36 +0200 Subject: [PATCH] Init libadwaita --- src/main.js | 5 ++++- src/mainRemote.js | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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;