We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5340715 commit 86cbc21Copy full SHA for 86cbc21
examples/squeezer_bin/main.rs
@@ -14,9 +14,7 @@ fn main() -> glib::ExitCode {
14
let mode_switch = gtk::Switch::new();
15
let switch_label = gtk::Label::new(Some("keep aspect ratio"));
16
let squeezer = SqueezerBin::default();
17
- squeezer.set_child(Some(
18
- gtk::Label::new(Some("Hello World!")).upcast::<gtk::Widget>(),
19
- ));
+ squeezer.set_child(Some(gtk::Label::new(Some("Hello World!"))));
20
21
headerbar.pack_start(&mode_switch);
22
headerbar.pack_start(&switch_label);
0 commit comments