[glom] Correct a comment.



commit e4464cb3b0d881059e5aa52a7f126695dea5c6b2
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 9 08:45:17 2015 +0100

    Correct a comment.

 glom/utility_widgets/layoutwidgetbase.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glom/utility_widgets/layoutwidgetbase.cc b/glom/utility_widgets/layoutwidgetbase.cc
index 0de1b08..fe79cf7 100644
--- a/glom/utility_widgets/layoutwidgetbase.cc
+++ b/glom/utility_widgets/layoutwidgetbase.cc
@@ -134,11 +134,11 @@ void LayoutWidgetBase::apply_formatting(Gtk::Widget& widget, const sharedptr<con
     if(label)
     {
       //Note that this does nothing for single lines of text.
-      //We use set_halign() too to get the effect even for single lines of text.
+      //We use set_xalign() above to get the effect even for single lines of text.
       label->set_justify(justification);
     } else {
       Gtk::TextView* textview = dynamic_cast<Gtk::TextView*>(widget_to_change);
-      if (textview)
+      if(textview)
       {
         //Note that, unlike Gtk::Label::set_justify(), this does have an effect
         //even for single lines of text.


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