[nautilus/wip/ernestask/gtk4-continued: 49/164] meson.build: Switch to GTK+ 4



commit 0a6e70d6b977d27e5a7f9d8b99dac6294e1efc68
Author: Ernestas Kulik <ernestask gnome org>
Date:   Mon Jul 2 09:43:43 2018 +0300

    meson.build: Switch to GTK+ 4

 libnautilus-extension/meson.build | 6 +++---
 meson.build                       | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libnautilus-extension/meson.build b/libnautilus-extension/meson.build
index c01899498..778e3c8bd 100644
--- a/libnautilus-extension/meson.build
+++ b/libnautilus-extension/meson.build
@@ -80,10 +80,10 @@ if get_option('introspection')
       '-DNAUTILUS_COMPILATION'
     ],
     sources: libnautilus_extension_sources,
-    nsversion: '3.0',
+    nsversion: '4.0',
     namespace: 'Nautilus',
     includes: [
-      'Gtk-3.0',
+      'Gtk-4.0',
       'Gio-2.0',
       'GLib-2.0'
     ],
@@ -112,7 +112,7 @@ pkgconfig.generate(
   requires: [
     'gio-2.0',
     'glib-2.0',
-    'gtk+-3.0'
+    'gtk+-4.0'
   ],
   variables: [
     'exec_prefix=${prefix}',
diff --git a/meson.build b/meson.build
index a77c7e3f3..ead699f5e 100644
--- a/meson.build
+++ b/meson.build
@@ -96,7 +96,7 @@ glib = dependency('glib-2.0', version: glib_ver)
 gmodule = dependency('gmodule-no-export-2.0', version: glib_ver)
 gnome_autoar = dependency('gnome-autoar-0', version: '>= 0.2.1')
 gsettings_desktop_schemas = dependency('gsettings-desktop-schemas')
-gtk = dependency('gtk+-3.0', version: '>= 3.22.27')
+gtk = dependency('gtk+-4.0', version: '>= 3.94.0')
 seccomp = []
 if is_linux
   seccomp = dependency('libseccomp')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]