-
We need to instance a Gtk.Widget to be able to use `get_style_context`. Thus, we use the singleton pattern to avoid allocating an object every time we call `is_theme_dark()`. Fixes #133.
We need to instance a Gtk.Widget to be able to use `get_style_context`. Thus, we use the singleton pattern to avoid allocating an object every time we call `is_theme_dark()`. Fixes #133.