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

@@ -322,7 +322,7 @@ class ClapperPlayer extends PlayerBase
let clapperWidget = this.widget.get_ancestor(Gtk.Grid);
if(!clapperWidget.fullscreenMode) {
let size = window.get_size();
let size = window.get_default_size();
if(size[0] > 0 && size[1] > 0)
clapperWidget._saveWindowSize(size);
}