fmt
This commit is contained in:
parent
b09a392351
commit
7616cbd4ca
1 changed files with 5 additions and 1 deletions
|
@ -182,7 +182,11 @@ impl SimpleComponent for AppModel {
|
|||
fn load_css() {
|
||||
let provider = gtk::CssProvider::new();
|
||||
provider.load_from_data(include_str!("../css/style.css"));
|
||||
gtk::style_context_add_provider_for_display(&Display::default().expect("Could not connect to a display."), &provider, gtk::STYLE_PROVIDER_PRIORITY_APPLICATION);
|
||||
gtk::style_context_add_provider_for_display(
|
||||
&Display::default().expect("Could not connect to a display."),
|
||||
&provider,
|
||||
gtk::STYLE_PROVIDER_PRIORITY_APPLICATION,
|
||||
);
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Reference in a new issue