Init libadwaita

This commit is contained in:
Rafał Dzięgiel
2021-08-02 12:28:36 +02:00
parent 13a792c0a9
commit 4c0fc1dac2
2 changed files with 9 additions and 1 deletions

View File

@@ -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;

View File

@@ -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;