[gtkmm] Fix the demos build.



commit 526e06c4dbc5175d67e5338e926ee7cad78cf7f5
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Dec 14 09:35:11 2010 +0100

    Fix the demos build.
    
    * demos/gtk-demo/example_stockbrowser.cc: Use Gtk::Widget::render_icon_pixbuf()
    rather than render_icon().

 ChangeLog                              |    7 +++++++
 demos/gtk-demo/example_stockbrowser.cc |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1f20334..25c65d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-12-14  Murray Cumming  <murrayc murrayc com>
+
+	Fix the demos build.
+
+	* demos/gtk-demo/example_stockbrowser.cc: Use Gtk::Widget::render_icon_pixbuf()
+	rather than render_icon().
+
 2010-12-13  Murray Cumming  <murrayc murrayc com>
 
 	Widget: Remove a useless _WRAP_METHOD() line.
diff --git a/demos/gtk-demo/example_stockbrowser.cc b/demos/gtk-demo/example_stockbrowser.cc
index 532e817..18e4e44 100644
--- a/demos/gtk-demo/example_stockbrowser.cc
+++ b/demos/gtk-demo/example_stockbrowser.cc
@@ -162,7 +162,7 @@ Glib::RefPtr<Gtk::TreeModel> Example_StockBrowser::create_model()
     }
 
     // Populate icon column:
-    row[m_columns.icon] = render_icon(stockid, Gtk::ICON_SIZE_MENU);
+    row[m_columns.icon] = render_icon_pixbuf(stockid, Gtk::ICON_SIZE_MENU);
   }
 
   return refStore;



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