[gtkmm/gtkmm-3maybe] Demos: Fix the build.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-3maybe] Demos: Fix the build.
- Date: Tue, 5 Jan 2010 11:23:06 +0000 (UTC)
commit 959e6209282b9a6abc3874dfd55406f12d8d11f8
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Jan 5 12:22:32 2010 +0100
Demos: Fix the build.
* demos/gtk-demo/example_treeview_treestore.cc: Correct more uses of
get_first_cell_renderer() to get_first_cell().
ChangeLog | 7 +++++++
demos/gtk-demo/example_treeview_treestore.cc | 12 ++++++------
2 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9a74269..a1e2c2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2010-01-05 Murray Cumming <murrayc murrayc com>
+ Demos: Fix the build.
+
+ * demos/gtk-demo/example_treeview_treestore.cc: Correct more uses of
+ get_first_cell_renderer() to get_first_cell().
+
+2010-01-05 Murray Cumming <murrayc murrayc com>
+
Remove more deprecated methods.
* gdk/src/event.hg:
diff --git a/demos/gtk-demo/example_treeview_treestore.cc b/demos/gtk-demo/example_treeview_treestore.cc
index 995753f..f4666fd 100644
--- a/demos/gtk-demo/example_treeview_treestore.cc
+++ b/demos/gtk-demo/example_treeview_treestore.cc
@@ -333,7 +333,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRenderer* pRenderer = pColumn->get_first_cell_renderer();
+ Gtk::CellRenderer* pRenderer = pColumn->get_first_cell();
#ifdef GLIBMM_PROPERTIES_ENABLED
pRenderer->property_xalign().set_value(0.0);
#else
@@ -350,7 +350,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
#ifdef GLIBMM_PROPERTIES_ENABLED
pRenderer->property_xalign().set_value(0.0);
#else
@@ -377,7 +377,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
#ifdef GLIBMM_PROPERTIES_ENABLED
pRenderer->property_xalign().set_value(0.0);
#else
@@ -402,7 +402,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
#ifdef GLIBMM_PROPERTIES_ENABLED
pRenderer->property_xalign().set_value(0.0);
#else
@@ -429,7 +429,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
#ifdef GLIBMM_PROPERTIES_ENABLED
pRenderer->property_xalign().set_value(0.0);
#else
@@ -454,7 +454,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
#ifdef GLIBMM_PROPERTIES_ENABLED
pRenderer->property_xalign().set_value(0.0);
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]