From 556f6f8ade5643b5ad798f4b0077843866c1b461 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 09 Aug 2009 20:08:28 +0000 Subject: made a compiler a bit happier Signed-off-by: Michael Krelin --- diff --git a/src/napkin.cc b/src/napkin.cc index d9ba0c9..78f44f8 100644 --- a/src/napkin.cc +++ b/src/napkin.cc @@ -49,7 +49,7 @@ class napkin_ui : public Gtk::Window { napkin_ui() : w_history(db) { - static char *ui_info = + static const char *ui_info = "" "" "" diff --git a/src/widgets.cc b/src/widgets.cc index ea85bc8..61c7da9 100644 --- a/src/widgets.cc +++ b/src/widgets.cc @@ -6,10 +6,10 @@ namespace napkin { hypnoinfo_t::hypnoinfo_t() : w_upper(4,3,false/*homogeneous*/), - lc_tobed("To bed:",0.5,0.5), - lc_timeline("Sleep timeline:",0.5,0.5), - lc_alarm("Alarm:",0.5,0.5), lc_window("Window:",0.5,0.5), - l_data_a("",0.9,0.5) + lc_tobed("To bed:",0.5f,0.5f), + lc_timeline("Sleep timeline:",0.5f,0.5f), + lc_alarm("Alarm:",0.5f,0.5f), lc_window("Window:",0.5f,0.5f), + l_data_a("",0.9f,0.5f) { add(l_date); add(l_hseparator); -- cgit v0.9.0.2