bin/mdv in mdv-0.6.0 vs bin/mdv in mdv-0.7.0
- old
+ new
@@ -1,11 +1,10 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require "mdv"
-myapp = Gtk::Application.new("net.matijs.mdv",
- { handles_open: true })
+myapp = Gtk::Application.new("net.matijs.mdv", handles_open: true)
def make_window(app)
win = Gtk::ApplicationWindow.new app
close_action = Gio::SimpleAction.new("close", nil)
close_action.signal_connect("activate") { win.destroy }