Compatibility with latest GTK4 git

This commit is contained in:
Rafostar
2020-12-10 11:51:55 +01:00
parent 8dfede27ac
commit 73b803abdb
2 changed files with 3 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ var Widget = GObject.registerClass({
return;
let root = this.get_root();
let size = root.get_size();
let size = root.get_default_size();
this._saveWindowSize(size);
@@ -160,7 +160,7 @@ var Widget = GObject.registerClass({
? this.floatSize
: this.windowSize;
root.resize(resize[0], resize[1]);
root.set_default_size(resize[0], resize[1]);
debug(`resized window: ${resize[0]}x${resize[1]}`);
this.revealerBottom.showChild(false);