[gnome-characters/bilelmoussaoui/gtk4: 3/27] require newer versions of the dependencies




commit 0cc9fac0e27fe8d6c4f1bca00d8998d1fc62823b
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]