fix deprecated positional arguments with the GObject constructor (Bug 797205)

This commit is contained in:
c-holtermann 2019-04-25 17:16:55 +02:00
parent 0cf49f1244
commit c48da07824

View File

@ -98,7 +98,7 @@ class Console (cons.Console):
if False:
console = Console(argv = [], shelltype = 'python', banner = [['woop', 'title']], size = 100)
window = Gtk.Window(Gtk.WindowType.TOPLEVEL)
window = Gtk.Window(type = Gtk.WindowType.TOPLEVEL)
window.set_position(Gtk.WindowPosition.CENTER)
window.set_default_size(800,600)
window.set_border_width(0)