1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jbicha@debian.org>
Date: Fri, 19 Sep 2025 09:07:12 -0400
Subject: Update dependencies to GNOME SDK 49
Forwarded: https://gitlab.gnome.org/GNOME/gnome-robots/-/merge_requests/39
---
Cargo.toml | 4 ++--
src/application.rs | 2 +-
src/controls/editor.rs | 4 +++-
src/game_area.rs | 4 +++-
src/window.rs | 3 ++-
5 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index a2f3340..e6ffbc7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,8 +4,8 @@ version = "41.2.0"
edition = "2021"
[dependencies]
-gtk = { package = "gtk4", version = "0.9", features = ["gnome_47"] }
-adw = { package = "libadwaita", version = "0.7", features = ["v1_6"] }
+gtk = { package = "gtk4", version = "0.10", features = ["gnome_47"] }
+adw = { package = "libadwaita", version = "0.8", features = ["v1_6"] }
gettext-rs = { version = "0.7", features = ["gettext-system"] }
librsvg = "2.59.2"
rand = "0.8"
diff --git a/src/application.rs b/src/application.rs
index 82ee104..8d87d3c 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -232,7 +232,7 @@ mod imp {
glib::wrapper! {
pub struct RobotsApplication(ObjectSubclass<imp::RobotsApplication>)
@extends adw::Application, gtk::Application, gio::Application,
- @implements gio::ActionMap;
+ @implements gio::ActionGroup, gio::ActionMap;
}
impl Default for RobotsApplication {
diff --git a/src/controls/editor.rs b/src/controls/editor.rs
index e534ba8..a5c60b5 100644
--- a/src/controls/editor.rs
+++ b/src/controls/editor.rs
@@ -181,7 +181,9 @@ mod imp {
}
glib::wrapper! {
- pub struct ControlEditor(ObjectSubclass<imp::ControlEditor>) @extends gtk::Widget;
+ pub struct ControlEditor(ObjectSubclass<imp::ControlEditor>)
+ @extends gtk::Widget,
+ @implements gtk::Accessible, gtk::Buildable, gtk::ConstraintTarget;
}
impl Default for ControlEditor {
diff --git a/src/game_area.rs b/src/game_area.rs
index 6a5896b..2f33395 100644
--- a/src/game_area.rs
+++ b/src/game_area.rs
@@ -237,7 +237,9 @@ mod imp {
}
glib::wrapper! {
- pub struct GameArea(ObjectSubclass<imp::GameArea>) @extends gtk::Widget;
+ pub struct GameArea(ObjectSubclass<imp::GameArea>)
+ @extends gtk::Widget,
+ @implements gtk::Accessible, gtk::Buildable, gtk::ConstraintTarget;
}
impl GameArea {
diff --git a/src/window.rs b/src/window.rs
index b1e0bf3..2d341b0 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -166,7 +166,8 @@ mod imp {
glib::wrapper! {
pub struct RobotsWindow(ObjectSubclass<imp::RobotsWindow>)
@extends adw::ApplicationWindow, gtk::ApplicationWindow, gtk::Window, gtk::Widget,
- @implements gio::ActionMap;
+ @implements gio::ActionGroup, gio::ActionMap, gtk::Accessible, gtk::Buildable,
+ gtk::ConstraintTarget, gtk::Native, gtk::Root, gtk::ShortcutManager;
}
impl RobotsWindow {
|