diff --git a/io.github.ellie_commons.jorts.yml b/io.github.ellie_commons.jorts.yml index 623dad3..5d7a082 100644 --- a/io.github.ellie_commons.jorts.yml +++ b/io.github.ellie_commons.jorts.yml @@ -1,6 +1,6 @@ id: io.github.ellie_commons.jorts runtime: io.elementary.Platform -runtime-version: '8.1' +runtime-version: '8.2' sdk: io.elementary.Sdk command: io.github.ellie_commons.jorts diff --git a/src/Application.vala b/src/Application.vala index ad58c57..557e662 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -81,6 +81,7 @@ public class Jorts.Application : Gtk.Application { public override void startup () { debug ("[JORTS] Jorts Startup…"); base.startup (); + Gtk.init (); Granite.init (); add_action_entries (ACTION_ENTRIES, this); diff --git a/src/Services/Themer.vala b/src/Services/Themer.vala index 69e6e84..a9a93b2 100644 --- a/src/Services/Themer.vala +++ b/src/Services/Themer.vala @@ -129,15 +129,6 @@ namespace Jorts.Themer { public static void init_all_themes () { debug ("[THEMER] Init all themes"); - // Use standard sheet - var app_provider = new Gtk.CssProvider (); - app_provider.load_from_resource ("/io/github/ellie_commons/jorts/Application.css"); - Gtk.StyleContext.add_provider_for_display ( - Gdk.Display.get_default (), - app_provider, - Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION + 1 - ); - // Then generate all theme classes foreach (unowned var theme in Jorts.Themes.all_string ()) { var theme_provider = new Gtk.CssProvider ();