summaryrefslogtreecommitdiffhomepage
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/00_beginner_ruby_primer/app/main.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/00_beginner_ruby_primer/app/main.rb b/samples/00_beginner_ruby_primer/app/main.rb
index 33c6dbf..6822cf3 100644
--- a/samples/00_beginner_ruby_primer/app/main.rb
+++ b/samples/00_beginner_ruby_primer/app/main.rb
@@ -76,8 +76,8 @@ end
def tick_reset_button
return unless state.hello_dragonruby_confirmed
- $gtk.reserved_primitives << state.reset_button.background
- $gtk.reserved_primitives << state.reset_button.label
+ $gtk.args.outputs.reserved << state.reset_button.background
+ $gtk.args.outputs.reserved << state.reset_button.label
if inputs.mouse.click && inputs.mouse.click.point.inside_rect?(state.reset_button.background)
restart_tutorial
end