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