mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Refactor module layout
This commit is contained in:
parent
e59052a362
commit
5956b7ff15
70 changed files with 757 additions and 841 deletions
|
|
@ -1,3 +1,4 @@
|
|||
mod activatable_row;
|
||||
mod album_tile;
|
||||
mod application;
|
||||
mod config;
|
||||
|
|
@ -16,16 +17,18 @@ mod program_tile;
|
|||
mod recording_tile;
|
||||
mod search_entry;
|
||||
mod search_tag;
|
||||
mod selector;
|
||||
mod tag_tile;
|
||||
mod util;
|
||||
mod welcome_page;
|
||||
mod window;
|
||||
|
||||
use self::{application::MusicusApplication, window::MusicusWindow};
|
||||
use gettextrs::LocaleCategory;
|
||||
use gstreamer_play::gst;
|
||||
use gtk::{gio, glib, prelude::*};
|
||||
|
||||
use self::{application::Application, window::Window};
|
||||
|
||||
fn main() -> glib::ExitCode {
|
||||
tracing_subscriber::fmt::init();
|
||||
gtk::init().expect("Failed to initialize GTK!");
|
||||
|
|
@ -48,5 +51,5 @@ fn main() -> glib::ExitCode {
|
|||
.expect("Could not load resources"),
|
||||
);
|
||||
|
||||
MusicusApplication::new().run()
|
||||
Application::new().run()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue