[gtkmm/gtkmm-2-22] Fix the make check build.



commit 11debfde67124b0acc8e4c5d103f6b4e89265866
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Sep 20 13:22:17 2010 +0200

    Fix the make check build.
    
    * demos/gtk-demo/example_colorsel.cc:
    * demos/gtk-demo/example_sizegroup.cc:
    * demos/gtk-demo/example_stockbrowser.cc: Use ALIGN_START/END instead of
      the deprecated LEFT/RIGHT/TOP/BOTTOM versions.

 ChangeLog                              |   11 +++++++++++
 NEWS                                   |   13 +++++++++++++
 configure.ac                           |    2 +-
 demos/gtk-demo/example_colorsel.cc     |    3 +--
 demos/gtk-demo/example_sizegroup.cc    |    2 +-
 demos/gtk-demo/example_stockbrowser.cc |    2 +-
 6 files changed, 28 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 899c7fb..2adb076 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2.21.8.1:
+
+2010-09-20  Murray Cumming  <murrayc murrayc com>
+
+  Fix the make check build.
+
+	* demos/gtk-demo/example_colorsel.cc:
+	* demos/gtk-demo/example_sizegroup.cc:
+	* demos/gtk-demo/example_stockbrowser.cc: Use ALIGN_START/END instead of
+  the deprecated LEFT/RIGHT/TOP/BOTTOM versions.
+
 2010-09-20  Murray Cumming  <murrayc murrayc com>
 
 	Widget: Document the set_flags() and unset_flags() deprecation.
diff --git a/NEWS b/NEWS
index df44a9a..741ae3f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,16 @@
+2.21.8.1 (unstable):
+
+Gtk:
+* IconView: Added tooltip-column and reorderable and
+  item-padding properties.
+* MessageDialog: Added message-area properties.
+* TextBuffer: Added get_copy_target_list() and
+  get_paste_target_list().
+* AlignmentEnum: Add ALIGN_START and ALIGN_END to match gtkmm 3,
+  to help future porting.
+* Improved API reference documentation.
+
+
 2.21.8 (unstable):
 
 Gtk:
diff --git a/configure.ac b/configure.ac
index 4e6689d..7d5939d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@
 ## You should have received a copy of the GNU Lesser General Public License
 ## along with this library.  If not, see <http://www.gnu.org/licenses/>.
 
-AC_INIT([gtkmm], [2.21.8],
+AC_INIT([gtkmm], [2.21.8.1],
         [http://bugzilla.gnome.org/enter_bug.cgi?product=gtkmm],
         [gtkmm], [http://www.gtkmm.org/])
 AC_PREREQ([2.59])
diff --git a/demos/gtk-demo/example_colorsel.cc b/demos/gtk-demo/example_colorsel.cc
index 5e8a65d..e667dc7 100644
--- a/demos/gtk-demo/example_colorsel.cc
+++ b/demos/gtk-demo/example_colorsel.cc
@@ -35,7 +35,7 @@ Gtk::Window* do_colorsel()
 Example_ColorSel::Example_ColorSel()
 : m_VBox(false, 8),
   m_Button("_Change the above color", true),
-  m_Alignment(Gtk::ALIGN_RIGHT, Gtk::ALIGN_BOTTOM, 0.0, 0.0)
+  m_Alignment(Gtk::ALIGN_END, Gtk::ALIGN_END, 0.0, 0.0)
 {
   set_title("Color Selection");
   set_border_width(8);
@@ -96,4 +96,3 @@ void Example_ColorSel::on_button_clicked()
     m_DrawingArea.modify_bg(Gtk::STATE_NORMAL, m_Color);
   }
 }
-
diff --git a/demos/gtk-demo/example_sizegroup.cc b/demos/gtk-demo/example_sizegroup.cc
index 1f15370..c980a99 100644
--- a/demos/gtk-demo/example_sizegroup.cc
+++ b/demos/gtk-demo/example_sizegroup.cc
@@ -134,7 +134,7 @@ void Example_SizeGroup::add_row(Gtk::Table& table, int row,
                                 const std::list<Glib::ustring>& options)
 {
   Gtk::Label* pLabel = Gtk::manage(new Gtk::Label(label_text, true));
-  pLabel->set_alignment(Gtk::ALIGN_LEFT, Gtk::ALIGN_BOTTOM);
+  pLabel->set_alignment(Gtk::ALIGN_START, Gtk::ALIGN_END);
 
   table.attach(*pLabel, 0, 1, row, row + 1, Gtk::EXPAND|Gtk::FILL, Gtk::AttachOptions(0));
 
diff --git a/demos/gtk-demo/example_stockbrowser.cc b/demos/gtk-demo/example_stockbrowser.cc
index fa2722d..532e817 100644
--- a/demos/gtk-demo/example_stockbrowser.cc
+++ b/demos/gtk-demo/example_stockbrowser.cc
@@ -66,7 +66,7 @@ Example_StockBrowser::Example_StockBrowser()
   m_Frame("Selected Item"),
   m_VBox(false, 8),
   m_HBox(false, 8),
-  m_Alignment(Gtk::ALIGN_CENTER, Gtk::ALIGN_TOP, 0.0, 0.0)
+  m_Alignment(Gtk::ALIGN_CENTER, Gtk::ALIGN_START, 0.0, 0.0)
 {
   set_title("Stock Icons and Items");
   set_default_size(-1, 500);



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