From 56ca13b370a35a66295f8ebb7cc96acc2b695c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Mon, 2 Aug 2021 12:24:04 +0200 Subject: [PATCH] Remove GTK 4.0.2+ theme workarounds --- css/styles.css | 6 ------ src/appBase.js | 3 --- 2 files changed, 9 deletions(-) diff --git a/css/styles.css b/css/styles.css index f8b6edfb..9a2c5eb7 100644 --- a/css/styles.css +++ b/css/styles.css @@ -12,12 +12,6 @@ radio { .osd list row image { -gtk-icon-shadow: none; } -.gtk402 trough highlight { - border-color: transparent; -} -.gtk402 .osd trough highlight { - border-color: inherit; -} .osdheaderbar { background: transparent; } diff --git a/src/appBase.js b/src/appBase.js index c5ea5c13..a3d61c81 100644 --- a/src/appBase.js +++ b/src/appBase.js @@ -29,9 +29,6 @@ class ClapperAppBase extends Gtk.Application title: Misc.appName, }); - if(Gtk.MINOR_VERSION > 0 || Gtk.MICRO_VERSION > 1) - window.add_css_class('gtk402'); - if(!settings.get_boolean('render-shadows')) window.add_css_class('gpufriendly');