Skip to content

Commit

Permalink
examples: adapt per GtkImage constructor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Jan 1, 2022
1 parent d71bcb1 commit 508f57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/custom_editable/custom_tag/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl CustomTag {
button.connect_clicked(clone!(@weak self as tag => move |_btn| {
tag.emit_by_name::<()>("closed", &[]);
}));
let icon = gtk::Image::from_icon_name(Some("window-close-symbolic"));
let icon = gtk::Image::from_icon_name("window-close-symbolic");
button.set_child(Some(&icon));

imp.container.append(&button);
Expand Down

0 comments on commit 508f57a

Please sign in to comment.