Skip to content

Commit ec6e7b0

Browse files
gtk: Fix readme example
1 parent 7493f4d commit ec6e7b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gtk4/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ the [features](#features) section for how to do this globally in your `Cargo.tom
3636
```rust,no_run
3737
use gtk4 as gtk;
3838
use gtk::prelude::*;
39-
use gtk::{Application, ApplicationWindow};
39+
use gtk::{glib, Application, ApplicationWindow};
4040
4141
fn main() -> glib::ExitCode {
4242
let app = Application::builder()
@@ -68,7 +68,7 @@ and run the main event loop.
6868
```rust,no_run
6969
use gtk4 as gtk;
7070
use gtk::prelude::*;
71-
use gtk::{Application, ApplicationWindow, Button};
71+
use gtk::{glib, Application, ApplicationWindow, Button};
7272
7373
fn main() -> glib::ExitCode {
7474
let application = Application::builder()

0 commit comments

Comments
 (0)