[gnome-music/wip/jfelder/gtk4-v3: 3/145] Set GTK to version 4




commit bbd498a3b2207e344fdcd90a77611f6918617ac1
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed Oct 30 22:46:32 2019 +0100

    Set GTK to version 4

 gnome-music.in | 2 +-
 meson.build    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-music.in b/gnome-music.in
index ca1a3ddac..c5ec888ce 100755
--- a/gnome-music.in
+++ b/gnome-music.in
@@ -40,7 +40,7 @@ if _LOCAL:
 
 import gi
 
-gi.require_version('Gtk', '3.0')
+gi.require_version('Gtk', '4.0')
 gi.require_version('GIRepository', '2.0')
 gi.require_version('Gst', '1.0')
 gi.require_version("Handy", "1")
diff --git a/meson.build b/meson.build
index 9bcb6c1fb..5bb93922a 100644
--- a/meson.build
+++ b/meson.build
@@ -44,7 +44,7 @@ PKGLIB_DIR = join_paths(get_option('prefix'), get_option('libdir'), APPLICATION_
 dependency('glib-2.0', version: '>= 2.67.1')
 dependency('goa-1.0', version: '>= 3.35.90')
 dependency('gobject-introspection-1.0', version: '>= 1.35.0')
-dependency('gtk+-3.0', version: '>= 3.24.14')
+dependency('gtk4', version: '>= 4.5.0')
 dependency('libhandy-1', version: '>= 1.2.0')
 dependency('libdazzle-1.0', version: '>= 3.28.0')
 dependency('libmediaart-2.0', version: '>= 1.9.1')


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