diff --git a/src/Library/demos/Grid/code.rs b/src/Library/demos/Grid/code.rs index 5d735c72c..33e8b7757 100644 --- a/src/Library/demos/Grid/code.rs +++ b/src/Library/demos/Grid/code.rs @@ -21,7 +21,7 @@ pub fn main() { } } -pub fn onClicked(button: >k::Button, step: Rc>) { +fn on_clicked(button: >k::Button, step: Rc>) { // Check access for user action let image: gtk::Image = button.child().unwrap().downcast().unwrap(); if image.icon_name().is_some() {