Hammond-gtk: Change the privacy of the widgets module.

This commit is contained in:
Jordan Petridis 2018-02-07 05:47:58 +02:00
parent 0cdd48ac1e
commit df02054b29
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
4 changed files with 17 additions and 12 deletions

View File

@ -51,16 +51,18 @@ macro_rules! clone {
);
}
mod views;
mod widgets;
mod stacks;
// They do not need to be public
// But it helps when looking at the generated docs.
pub mod views;
pub mod widgets;
pub mod stacks;
mod headerbar;
mod app;
pub mod headerbar;
pub mod app;
mod utils;
mod manager;
mod static_resource;
pub mod utils;
pub mod manager;
pub mod static_resource;
use app::App;

View File

@ -10,7 +10,7 @@ use hammond_data::dbqueries;
use views::{EmptyView, ShowsPopulated};
use app::Action;
use widgets::show::ShowWidget;
use widgets::ShowWidget;
use std::sync::mpsc::Sender;

View File

@ -8,7 +8,7 @@ use hammond_data::dbqueries;
use app::Action;
use utils::get_pixbuf_from_path;
use widgets::episode::EpisodeWidget;
use widgets::EpisodeWidget;
use std::sync::mpsc::Sender;

View File

@ -1,2 +1,5 @@
pub mod show;
pub mod episode;
mod show;
mod episode;
pub use self::episode::EpisodeWidget;
pub use self::show::ShowWidget;