Replace lowdash with dash
This commit is contained in:
parent
646445df70
commit
920e6543d5
2 changed files with 2 additions and 2 deletions
2
main.ui
2
main.ui
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<object class="GtkApplicationWindow" id="app_window">
|
<object class="GtkApplicationWindow" id="app-window">
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
|
|
|
@ -14,7 +14,7 @@ fn main() {
|
||||||
|
|
||||||
fn build_ui(app: &Application) {
|
fn build_ui(app: &Application) {
|
||||||
let builder = Builder::from_string(UI);
|
let builder = Builder::from_string(UI);
|
||||||
let app_window: ApplicationWindow = builder.object("app_window").unwrap();
|
let app_window: ApplicationWindow = builder.object("app-window").unwrap();
|
||||||
app_window.set_application(Some(app));
|
app_window.set_application(Some(app));
|
||||||
app_window.present();
|
app_window.present();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue