From 5f216853a172e3c42c1a49a92a759825162e2c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Mon, 23 Oct 2023 09:53:38 -0700 Subject: [PATCH] Require Granite 7.4.0 --- README.md | 2 +- src/Defaults/DefaultPlug.vala | 2 +- src/meson.build | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b5f9a0c0..f3d25328 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ You'll need the following dependencies: * libadwaita-1-dev * libswitchboard-3-dev * libflatpak-dev -* libgranite-7-dev +* libgranite-7-dev >= 7.4.0 * libgtk-4-dev * meson * valac diff --git a/src/Defaults/DefaultPlug.vala b/src/Defaults/DefaultPlug.vala index 0e5f86a1..47a8027c 100644 --- a/src/Defaults/DefaultPlug.vala +++ b/src/Defaults/DefaultPlug.vala @@ -104,7 +104,7 @@ public class Defaults.Plug : Gtk.Box { hexpand = true, show_default_item = true }; - ((Gtk.Label) setting_label.get_first_child ()).mnemonic_widget = app_chooser.get_first_child (); + setting_label.mnemonic_widget = app_chooser.get_first_child (); var box = new Gtk.Box (VERTICAL, 6); box.append (setting_label); diff --git a/src/meson.build b/src/meson.build index 3c39dc95..ef4d9d59 100644 --- a/src/meson.build +++ b/src/meson.build @@ -34,7 +34,7 @@ shared_module( dependency('glib-2.0', version: '>=2.34'), dependency('gio-2.0'), dependency('gobject-2.0'), - dependency('granite-7'), + dependency('granite-7', version: '>=7.4.0'), dependency('gtk4'), dependency('libadwaita-1'), switchboard_dep