Remove workarounds for GTK 3.99.X versions

Clapper build scripts were updated to GTK 4.0.0 some time ago. Most distros either received GTK 4.0 from start or an update to it. No point in having a special workarounds to support 3.99.X versions.
This commit is contained in:
Rafał Dzięgiel
2021-01-20 19:30:07 +01:00
parent f5fef2df5b
commit e9c72d3f2e
3 changed files with 3 additions and 12 deletions

View File

@@ -372,9 +372,7 @@ class ClapperPlayer extends PlayerBase
const clapperWidget = this.widget.get_ancestor(Gtk.Grid);
if(!clapperWidget.fullscreenMode) {
const size = (Misc.isOldGtk)
? window.get_size()
: window.get_default_size();
const size = window.get_default_size();
if(size[0] > 0 && size[1] > 0)
clapperWidget._saveWindowSize(size);