Skip to content

Commit

Permalink
We don't need gtk settings here anymore since we don't use the gtk th…
Browse files Browse the repository at this point in the history
…eme directly anymore
  • Loading branch information
leolost2605 committed Mar 22, 2024
1 parent a663025 commit 5683078
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Widgets/WindowSwitcher/WindowSwitcher.vala
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ public class Gala.WindowSwitcher : CanvasActor {
}

construct {
unowned var gtk_settings = Gtk.Settings.get_default ();
granite_settings = Granite.Settings.get_default ();

container = new Clutter.Actor () {
Expand Down Expand Up @@ -96,8 +95,6 @@ public class Gala.WindowSwitcher : CanvasActor {
// Redraw the components if the colour scheme changes.
granite_settings.notify["prefers-color-scheme"].connect (content.invalidate);

gtk_settings.notify["gtk-theme-name"].connect (content.invalidate);

unowned var monitor_manager = wm.get_display ().get_context ().get_backend ().get_monitor_manager ();
monitor_manager.monitors_changed.connect (scale);
}
Expand Down

0 comments on commit 5683078

Please sign in to comment.