summaryrefslogtreecommitdiffabout
path: root/src/widgets.cc
Unidiff
Diffstat (limited to 'src/widgets.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--src/widgets.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets.cc b/src/widgets.cc
index ea85bc8..61c7da9 100644
--- a/src/widgets.cc
+++ b/src/widgets.cc
@@ -3,16 +3,16 @@
3 3
4namespace napkin { 4namespace napkin {
5 namespace gtk { 5 namespace gtk {
6 6
7 hypnoinfo_t::hypnoinfo_t() 7 hypnoinfo_t::hypnoinfo_t()
8 : w_upper(4,3,false/*homogeneous*/), 8 : w_upper(4,3,false/*homogeneous*/),
9 lc_tobed("To bed:",0.5,0.5), 9 lc_tobed("To bed:",0.5f,0.5f),
10 lc_timeline("Sleep timeline:",0.5,0.5), 10 lc_timeline("Sleep timeline:",0.5f,0.5f),
11 lc_alarm("Alarm:",0.5,0.5), lc_window("Window:",0.5,0.5), 11 lc_alarm("Alarm:",0.5f,0.5f), lc_window("Window:",0.5f,0.5f),
12 l_data_a("",0.9,0.5) 12 l_data_a("",0.9f,0.5f)
13 { 13 {
14 add(l_date); 14 add(l_date);
15 add(l_hseparator); 15 add(l_hseparator);
16 w_upper.set_col_spacings(5); 16 w_upper.set_col_spacings(5);
17 w_upper.attach(lc_tobed,0,1,0,1, Gtk::SHRINK); 17 w_upper.attach(lc_tobed,0,1,0,1, Gtk::SHRINK);
18 w_upper.attach(lc_timeline,1,2,0,1, Gtk::SHRINK); 18 w_upper.attach(lc_timeline,1,2,0,1, Gtk::SHRINK);