Index: glib/src/nodetree.hg
===================================================================
--- glib/src/nodetree.hg	(revision 707)
+++ glib/src/nodetree.hg	(working copy)
@@ -74,6 +74,17 @@
   typedef sigc::slot<void, NodeTree<T>&> ForeachFunc;
 
 private:
+  GNode* gobject_;
+  T& data_;
+
+protected:
+  /// Provides access to the underlying GNode pointer.
+  GNode* gobj() const
+  {
+    return gobject_;
+  }
+
+  /// Provides access to the C++ object.
   static NodeTree<T>* wrap(GNode* node)
   {
     if (!node)
@@ -624,27 +635,10 @@
     return wrap(gobj()->parent);
   }
 
-
-  /// Provides access to the underlying C GObject.
-  GNode* gobj()
-  {
-    return gobject_;
-  }
-
-  /// Provides access to the underlying C GObject.
-  const GNode* gobj() const
-  {
-    return gobject_;
-  }
-
   // Leaving these unimplemented for now
   _IGNORE(g_node_copy)
   _IGNORE(g_node_copy_deep)
 
-protected:
-  GNode* gobject_;
-  T& data_;
-
 private:
   /// Wrapper for invoking a TraverseFunc.
   static gboolean c_callback_traverse(GNode* node, gpointer slot)
