Hammond-gtk: Change the privacy of the widgets module.
This commit is contained in:
parent
0cdd48ac1e
commit
df02054b29
@ -51,16 +51,18 @@ macro_rules! clone {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
mod views;
|
// They do not need to be public
|
||||||
mod widgets;
|
// But it helps when looking at the generated docs.
|
||||||
mod stacks;
|
pub mod views;
|
||||||
|
pub mod widgets;
|
||||||
|
pub mod stacks;
|
||||||
|
|
||||||
mod headerbar;
|
pub mod headerbar;
|
||||||
mod app;
|
pub mod app;
|
||||||
|
|
||||||
mod utils;
|
pub mod utils;
|
||||||
mod manager;
|
pub mod manager;
|
||||||
mod static_resource;
|
pub mod static_resource;
|
||||||
|
|
||||||
use app::App;
|
use app::App;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ use hammond_data::dbqueries;
|
|||||||
use views::{EmptyView, ShowsPopulated};
|
use views::{EmptyView, ShowsPopulated};
|
||||||
|
|
||||||
use app::Action;
|
use app::Action;
|
||||||
use widgets::show::ShowWidget;
|
use widgets::ShowWidget;
|
||||||
|
|
||||||
use std::sync::mpsc::Sender;
|
use std::sync::mpsc::Sender;
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@ use hammond_data::dbqueries;
|
|||||||
|
|
||||||
use app::Action;
|
use app::Action;
|
||||||
use utils::get_pixbuf_from_path;
|
use utils::get_pixbuf_from_path;
|
||||||
use widgets::episode::EpisodeWidget;
|
use widgets::EpisodeWidget;
|
||||||
|
|
||||||
use std::sync::mpsc::Sender;
|
use std::sync::mpsc::Sender;
|
||||||
|
|
||||||
|
|||||||
@ -1,2 +1,5 @@
|
|||||||
pub mod show;
|
mod show;
|
||||||
pub mod episode;
|
mod episode;
|
||||||
|
|
||||||
|
pub use self::episode::EpisodeWidget;
|
||||||
|
pub use self::show::ShowWidget;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user