sample/examples/grid_packing.rb in gtk4-4.0.3 vs sample/examples/grid_packing.rb in gtk4-4.0.4

- old
+ new

@@ -31,10 +31,10 @@ # Here we construct the container that is going to pack our buttons. grid = Gtk::Grid.new # Pack the container in the window - win.add(grid) + win.set_child(grid) button = Gtk::Button.new(:label => "Button 1") button.signal_connect("clicked") { puts "Hello World!" } # Place the first button in the grid cell (0, 0), and make it fill