mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fix deprecated positional arguments with the GObject constructor (Bug 797205)
This commit is contained in:
parent
0cf49f1244
commit
c48da07824
@ -98,7 +98,7 @@ class Console (cons.Console):
|
|||||||
if False:
|
if False:
|
||||||
console = Console(argv = [], shelltype = 'python', banner = [['woop', 'title']], size = 100)
|
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_position(Gtk.WindowPosition.CENTER)
|
||||||
window.set_default_size(800,600)
|
window.set_default_size(800,600)
|
||||||
window.set_border_width(0)
|
window.set_border_width(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user