summaryrefslogtreecommitdiff
path: root/core/src/widget/levelbar.vala
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-10-15 15:30:04 +0200
committerGitHub <[email protected]>2024-10-15 15:30:04 +0200
commitcbe650afb31c24faea6da45b4aeeffc6e964969d (patch)
treed5c3788835ca7e50d68cd023026e7738f39f6f71 /core/src/widget/levelbar.vala
parentbdb23e20f171da7c769cba9e393d7e406e563a78 (diff)
parentbafd48d3df9b43a1d49ec015eff30619d595468b (diff)
Merge pull request #46 from Aylur/small-refactor
Small refactor
Diffstat (limited to 'core/src/widget/levelbar.vala')
-rw-r--r--core/src/widget/levelbar.vala15
1 files changed, 0 insertions, 15 deletions
diff --git a/core/src/widget/levelbar.vala b/core/src/widget/levelbar.vala
deleted file mode 100644
index 1db2cc7..0000000
--- a/core/src/widget/levelbar.vala
+++ /dev/null
@@ -1,15 +0,0 @@
-namespace Astal {
-public class LevelBar : Gtk.LevelBar {
- [CCode (notify = false)]
- public bool vertical {
- get { return orientation == Gtk.Orientation.VERTICAL; }
- set { orientation = value ? Gtk.Orientation.VERTICAL : Gtk.Orientation.HORIZONTAL; }
- }
-
- construct {
- notify["orientation"].connect(() => {
- notify_property("vertical");
- });
- }
-}
-}