Skip to content

Commit 040726e

Browse files
Merge pull request #121 from mitchhentges/117-landing-demo-option
Fixes 117. Wraps param in Some
2 parents 9b3a3ba + 298a6ec commit 040726e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Create an application, etc.
6868
use gtk::{Application, ApplicationWindow, Button};
6969

7070
fn main() {
71-
let application = Application::new("com.github.gtk-rs.examples.basic", Default::default())
71+
let application = Application::new(Some("com.github.gtk-rs.examples.basic"), Default::default())
7272
.expect("failed to initialize GTK application");
7373

7474
application.connect_activate(|app| {

0 commit comments

Comments
 (0)