mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Use libhandy for the main window
This also reverts a part of the changes from the last commit. They will be replaced by a new solution.
This commit is contained in:
parent
21ad91d9a9
commit
af1d7c4a01
4 changed files with 147 additions and 123 deletions
|
|
@ -18,6 +18,9 @@ mod window;
|
|||
use window::Window;
|
||||
|
||||
fn main() {
|
||||
gtk::init().expect("Failed to initialize GTK!");
|
||||
libhandy::init();
|
||||
|
||||
let bytes = glib::Bytes::from(include_bytes!("../res/resources.gresource").as_ref());
|
||||
let resource = gio::Resource::from_data(&bytes).expect("Failed to load resources!");
|
||||
gio::resources_register(&resource);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue