From a68e04acd70ca4ec42f23190712249a2ad974fe6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 27 Aug 2020 17:00:10 +0200 Subject: Drop GTK2 and GDK2 altogether Only the main GUI and cell_explorer use GTK, and the GUI is completely bound to GTK3. --- meson.build | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index bef509ff..e1eb56d4 100644 --- a/meson.build +++ b/meson.build @@ -45,20 +45,12 @@ if fftwdep.found() endif gtkdep = dependency('gtk+-3.0', required : false) -if not gtkdep.found() - gtkdep = dependency('gtk+-2.0', required : false) -else - add_project_arguments('-Wno-deprecated-declarations', language : 'c') -endif - if gtkdep.found() + add_project_arguments('-Wno-deprecated-declarations', language : 'c') conf_data.set10('HAVE_GTK', 1) endif gdkdep = dependency('gdk-3.0', required : false) -if not gdkdep.found() - gdkdep = dependency('gdk-2.0', required : false) -endif if gdkdep.found() conf_data.set10('HAVE_GDK', 1) endif -- cgit v1.2.3