Skip to content

Commit 76be69f

Browse files
authored
clock: update syntax for gtk4 (#309)
1 parent f2a1c5f commit 76be69f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/panel/widgets/clock.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include <glibmm.h>
2-
#include <iostream>
32
#include "clock.hpp"
43

54
void WayfireClock::init(Gtk::Box *container)
@@ -8,7 +7,7 @@ void WayfireClock::init(Gtk::Box *container)
87
button->get_style_context()->add_class("clock");
98
button->set_child(label);
109
button->show();
11-
label.set_justify(Gtk::JUSTIFY_CENTER);
10+
label.set_justify(Gtk::Justification::CENTER);
1211
label.show();
1312

1413
update_label();

0 commit comments

Comments
 (0)