[glom/gmenu] Avoid the glib warning about adding interfaces after class initialization.



commit 2a55bd451c8eb5b1773b2041801ead90d18231be
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Sep 12 19:54:21 2013 +0200

    Avoid the glib warning about adding interfaces after class initialization.
    
    * glom/mode_data/datawidget/treemodel_db.h: Change the order of
      the base classes, to list the interface before Glib::Object,
      because the previous order is now deprecated in glibmm/gtkmm,
      because glib deprecated this.

 glom/mode_data/datawidget/treemodel_db.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glom/mode_data/datawidget/treemodel_db.h b/glom/mode_data/datawidget/treemodel_db.h
index eabece8..8848647 100644
--- a/glom/mode_data/datawidget/treemodel_db.h
+++ b/glom/mode_data/datawidget/treemodel_db.h
@@ -62,8 +62,8 @@ public:
 
 
 class DbTreeModel
-  : public Glib::Object,
-    public Gtk::TreeModel
+  : public Gtk::TreeModel,
+    public Glib::Object
 {
 public:
   //typedef unsigned int size_type;


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