[regexxer/murrayc-update: 9/12] Replace use of deprecated Gtk::Label constructor.



commit 2bdbd6a05b59760b6fe47758abb16ed206db4c52
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Mar 1 08:40:25 2016 +0100

    Replace use of deprecated Gtk::Label constructor.

 src/statusline.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/statusline.cc b/src/statusline.cc
index 1c7d014..93c705a 100644
--- a/src/statusline.cc
+++ b/src/statusline.cc
@@ -78,12 +78,12 @@ CounterBox::CounterBox(const Glib::ustring& label)
 
   box->pack_start(*manage(new Label(label + ' ')), PACK_SHRINK);
 
-  label_index_ = new Label("", 1.0, 0.5);
+  label_index_ = new Label("", ALIGN_END, ALIGN_CENTER);
   box->pack_start(*manage(label_index_), PACK_SHRINK);
 
   box->pack_start(*manage(new Label("/")), PACK_SHRINK, 2);
 
-  label_count_ = new Label("", 0.0, 0.5);
+  label_count_ = new Label("", ALIGN_START, ALIGN_CENTER);
   box->pack_start(*manage(label_count_), PACK_SHRINK);
 
   label_index_->set_single_line_mode(true);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]