diff --git a/examples/others/treemodelcustom/exampletreemodel.cc b/examples/others/treemodelcustom/exampletreemodel.cc
index 8811bcd..0b197e2 100644
--- a/examples/others/treemodelcustom/exampletreemodel.cc
+++ b/examples/others/treemodelcustom/exampletreemodel.cc
@@ -46,6 +46,7 @@ ExampleTreeModel::GlueList::~GlueList()
 
 ExampleTreeModel::ExampleTreeModel(unsigned int columns_count)
 : Glib::ObjectBase( typeid(ExampleTreeModel) ), //register a custom GType.
+  Gtk::TreeModel(),
   Glib::Object(), //The custom GType is actually registered here.
   m_stamp(1), //When the model's stamp != the iterator's stamp then that iterator is invalid and should be ignored. Also, 0=invalid
   m_pGlueList(0)
diff --git a/examples/others/treemodelcustom/exampletreemodel.h b/examples/others/treemodelcustom/exampletreemodel.h
index bc0d241..f0d69b2 100644
--- a/examples/others/treemodelcustom/exampletreemodel.h
+++ b/examples/others/treemodelcustom/exampletreemodel.h
@@ -22,8 +22,8 @@
 #include <gtkmm.h>
 
 class ExampleTreeModel
-  : public Glib::Object,
-    public Gtk::TreeModel
+  : public Gtk::TreeModel,
+    public Glib::Object
 {
 protected:
   //Create a TreeModel with @a columns_count number of columns, each of type Glib::ustring.
