summaryrefslogtreecommitdiff
path: root/examples/vala/simple-bar/widget
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-10-15 01:26:40 +0200
committerAylur <[email protected]>2024-10-15 01:26:40 +0200
commitd63332b533b390e7e68f8f1fc2432958c4d36a4f (patch)
treeb0abaff53310c0caab0f4074eb68ee8baa963300 /examples/vala/simple-bar/widget
parent2f71cd4c08bb4514efe43533e6a5d03535204c29 (diff)
update examples
Diffstat (limited to 'examples/vala/simple-bar/widget')
-rw-r--r--examples/vala/simple-bar/widget/Bar.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/vala/simple-bar/widget/Bar.vala b/examples/vala/simple-bar/widget/Bar.vala
index 6e99327..17db831 100644
--- a/examples/vala/simple-bar/widget/Bar.vala
+++ b/examples/vala/simple-bar/widget/Bar.vala
@@ -191,7 +191,7 @@ class Battery : Gtk.Box {
class Time : Astal.Label {
string format;
- Astal.Time interval;
+ AstalIO.Time interval;
void sync() {
label = new DateTime.now_local().format(format);
@@ -199,7 +199,7 @@ class Time : Astal.Label {
public Time(string format = "%H:%M - %A %e.") {
this.format = format;
- interval = Astal.Time.interval(1000, null);
+ interval = AstalIO.Time.interval(1000, null);
interval.now.connect(sync);
destroy.connect(interval.cancel);
Astal.widget_set_class_names(this, {"Time"});