From ad8d3409fec4d7d4fd728f364a139947ff1185e3 Mon Sep 17 00:00:00 2001 From: Aylur Date: Sat, 21 Sep 2024 19:06:08 +0200 Subject: fix(Variable): remove explicit run_dispose let gc collect them --- examples/vala/simple-bar/app.vala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/vala/simple-bar/app.vala (limited to 'examples/vala/simple-bar/app.vala') 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); + } +} -- cgit v1.2.3