diff options
-rw-r--r-- | src/rhlibrary/vumeter_widget.go | 2 | ||||
-rw-r--r-- | src/rhlibrary/widget_common.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rhlibrary/vumeter_widget.go b/src/rhlibrary/vumeter_widget.go index 1886653..80214fd 100644 --- a/src/rhlibrary/vumeter_widget.go +++ b/src/rhlibrary/vumeter_widget.go @@ -141,7 +141,7 @@ func createMeterBar(segments float64) (bar *gtk.LevelBar, err error) { if cp, err = getMeterBarCSS(); err != nil { return } - sc.AddProvider(cp, 600) // TOOD: hardcoded value + sc.AddProvider(cp, gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) return } diff --git a/src/rhlibrary/widget_common.go b/src/rhlibrary/widget_common.go index 33be7ae..c597437 100644 --- a/src/rhlibrary/widget_common.go +++ b/src/rhlibrary/widget_common.go @@ -40,6 +40,6 @@ func setCssStyle(widget *gtk.Widget, css string) (err error) { if sc, err = widget.GetStyleContext(); err != nil { return } - sc.AddProvider(cp, 600) // TOOD: hardcoded value + sc.AddProvider(cp, gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) return } |