From 01c9a51c707807c73900a43eacbb68d0e954c24b Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 5 Feb 2026 14:36:28 +0100 Subject: [PATCH] build: only support gtk3 for icon and clipboard gtk2 is pretty old now. Let's just focus on gtk3. --- meson.build | 7 ------- 1 file changed, 7 deletions(-) diff --git a/meson.build b/meson.build index 28f9bde8..148c278e 100644 --- a/meson.build +++ b/meson.build @@ -164,17 +164,11 @@ endif # GTK (for icons and clipboard) gtk_dep = dependency('', required: false) -gtk_version = 'none' if get_option('icons-and-clipboard').enabled() gtk_dep = dependency('gtk+-3.0', version: '>= 3.24.0', required: false) if gtk_dep.found() conf_data.set('HAVE_GTK', 1) - gtk_version = gtk_dep.version() - else - gtk_dep = dependency('gtk+-2.0', version: '>= 2.24.10', required: true) - conf_data.set('HAVE_GTK', 1) - gtk_version = gtk_dep.version() endif endif @@ -700,7 +694,6 @@ endif summary({ 'Platform': platform, 'Package status': get_option('buildtype'), - 'GTK version': gtk_version, 'Install themes': get_option('install_themes'), 'Themes path': themes_path, 'Icons path': icons_path,