mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Init libadwaita
This commit is contained in:
@@ -2,8 +2,11 @@ imports.gi.versions.Gdk = '4.0';
|
|||||||
imports.gi.versions.Gtk = '4.0';
|
imports.gi.versions.Gtk = '4.0';
|
||||||
imports.gi.versions.Soup = '2.4';
|
imports.gi.versions.Soup = '2.4';
|
||||||
|
|
||||||
const { Gst } = imports.gi;
|
const { Gst, Gtk, Adw } = imports.gi;
|
||||||
|
|
||||||
Gst.init(null);
|
Gst.init(null);
|
||||||
|
Gtk.init();
|
||||||
|
Adw.init();
|
||||||
|
|
||||||
const { App } = imports.src.app;
|
const { App } = imports.src.app;
|
||||||
|
|
||||||
|
@@ -2,6 +2,11 @@ imports.gi.versions.Gdk = '4.0';
|
|||||||
imports.gi.versions.Gtk = '4.0';
|
imports.gi.versions.Gtk = '4.0';
|
||||||
imports.gi.versions.Soup = '2.4';
|
imports.gi.versions.Soup = '2.4';
|
||||||
|
|
||||||
|
const { Gtk, Adw } = imports.gi;
|
||||||
|
|
||||||
|
Gtk.init();
|
||||||
|
Adw.init();
|
||||||
|
|
||||||
const { AppRemote } = imports.src.appRemote;
|
const { AppRemote } = imports.src.appRemote;
|
||||||
const Misc = imports.src.misc;
|
const Misc = imports.src.misc;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user