From dff62a9e31ff85305eb2d70b036ee25c90e4feeb Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Thu, 23 Mar 2023 09:34:44 +0100 Subject: Use gtk-rs 0.6.4 --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index efe1522..abedf64 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,7 +31,7 @@ fn main() { // Initialize GTK gtk::init().expect("Failed to initialize GTK."); // Initialize libadwaita - adw::init(); + let _ = adw::init(); // Set up gettext translations bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR).expect("Unable to bind the text domain"); @@ -55,5 +55,5 @@ fn main() { // exits. Upon return, we have our exit code to return to the shell. (This // is the code you see when you do `echo $?` after running a command in a // terminal. - std::process::exit(app.run()); + std::process::exit(app.run().into()); } -- cgit 1.4.1