[gnome-characters/bilelmoussaoui/gtk4: 4/76] require newer versions of the dependencies
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters/bilelmoussaoui/gtk4: 4/76] require newer versions of the dependencies
- Date: Fri, 26 Nov 2021 08:59:03 +0000 (UTC)
commit b7615604cab15d45ec0e0e91591c0c597d931bc3
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Fri Nov 19 11:29:45 2021 +0100
require newer versions of the dependencies
src/main.js | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/main.js b/src/main.js
index 117b53d..2dcfadf 100644
--- a/src/main.js
+++ b/src/main.js
@@ -27,15 +27,16 @@
pkg.initGettext();
pkg.initFormat();
pkg.require({
- 'Gdk': '3.0',
+ 'Gdk': '4.0',
'Gio': '2.0',
'GLib': '2.0',
'GObject': '2.0',
- 'Gtk': '3.0',
- 'Handy': '1',
+ 'Gtk': '4.0',
+ 'Adw': '1',
+ 'GnomeDesktop': '4.0',
});
-const {GLib, Gio, GObject, Gtk, Handy} = imports.gi;
+const {GLib, Gio, GObject, Gtk, Adw} = imports.gi;
const Util = imports.util;
const Window = imports.window;
@@ -100,7 +101,7 @@ var MyApplication = GObject.registerClass({
if (!this._appwindow) {
this._appwindow = new Window.MainWindow({ application: this });
}
- Handy.init();
+ Adw.init();
this._appwindow.present();
log("Characters Application activated");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]