summaryrefslogtreecommitdiff
path: root/examples/vala/simple-bar/app.vala
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-21 19:06:08 +0200
committerAylur <[email protected]>2024-09-21 19:07:29 +0200
commitad8d3409fec4d7d4fd728f364a139947ff1185e3 (patch)
tree3e4ac867c3e1f543fec2f045a18b9d86c990a94f /examples/vala/simple-bar/app.vala
parenta819c41afcdde7b4bbe0ecf04dc8a84c87cc3c75 (diff)
fix(Variable): remove explicit run_dispose
let gc collect them
Diffstat (limited to 'examples/vala/simple-bar/app.vala')
-rw-r--r--examples/vala/simple-bar/app.vala14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/vala/simple-bar/app.vala b/examples/vala/simple-bar/app.vala
new file mode 100644
index 0000000..ccd3957
--- /dev/null
+++ b/examples/vala/simple-bar/app.vala
@@ -0,0 +1,14 @@
+class Application : Astal.Application {
+ Application() {
+
+ }
+
+ public override void activate () {
+ this.add_window(new Bar());
+ }
+
+ public static int main() {
+ var app = new Application();
+ return app.run(null);
+ }
+}