Skip to content

Commit

Permalink
Update src/Library/demos/Grid/code.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Hofer-Julian <[email protected]>
  • Loading branch information
M-Sabrina and Hofer-Julian authored Sep 4, 2023
1 parent 93fd823 commit 7cce3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Library/demos/Grid/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn main() {
}
}

pub fn onClicked(button: &gtk::Button, step: Rc<Cell<i32>>) {
fn on_clicked(button: &gtk::Button, step: Rc<Cell<i32>>) {
// Check access for user action
let image: gtk::Image = button.child().unwrap().downcast().unwrap();
if image.icon_name().is_some() {
Expand Down

0 comments on commit 7cce3f7

Please sign in to comment.