[gdlmm] GdlDockItemBehavior is a GTYPE



commit eb032db1d7b09975949e7d406f49781ac669851a
Author: Fabien Parent <parent f gmail com>
Date:   Wed Nov 25 15:08:59 2009 +0100

    GdlDockItemBehavior is a GTYPE

 gdl/src/dockitem.ccg |    2 ++
 gdl/src/dockitem.hg  |    4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdl/src/dockitem.ccg b/gdl/src/dockitem.ccg
index 6961650..8ad987e 100644
--- a/gdl/src/dockitem.ccg
+++ b/gdl/src/dockitem.ccg
@@ -16,6 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <gdl/libgdltypebuiltins.h>
+
 namespace Gdl
 {
 
diff --git a/gdl/src/dockitem.hg b/gdl/src/dockitem.hg
index cf873c2..fb0c38d 100644
--- a/gdl/src/dockitem.hg
+++ b/gdl/src/dockitem.hg
@@ -28,7 +28,7 @@ namespace Gdl
 
 _CC_INCLUDE(gdl/gdl-dock-item.h)
 
-_WRAP_ENUM(DockItemBehavior, GdlDockItemBehavior, NO_GTYPE)
+_WRAP_ENUM(DockItemBehavior, GdlDockItemBehavior)
 _WRAP_ENUM(DockItemFlags, GdlDockItemFlags)
 
 class DockItem : public DockObject
@@ -37,10 +37,8 @@ class DockItem : public DockObject
 
 public:
   DockItem(const Glib::ustring& name, const Glib::ustring& long_name, DockItemBehavior behavior = static_cast<DockItemBehavior>(DOCK_ITEM_BEH_NORMAL));
-  //_WRAP_CTOR(DockItem(const Glib::ustring& name, const Glib::ustring& long_name, DockItemBehavior behavior = static_cast<DockItemBehavior>(DOCK_ITEM_BEH_NORMAL)), gdl_dock_item_new)
   
   DockItem(const Glib::ustring& name, const Glib::ustring& long_name, const Gtk::StockID& stock_id, DockItemBehavior behavior = static_cast<DockItemBehavior>(DOCK_ITEM_BEH_NORMAL));
-  //_WRAP_CTOR(DockItem(const Glib::ustring& name, const Glib::ustring& long_name, const Gtk::StockID& stock_id, DockItemBehavior behavior = static_cast<DockItemBehavior>(DOCK_ITEM_BEH_NORMAL)), gdl_dock_item_new_with_stock)
   
   _WRAP_METHOD(void dock_to(DockItem& target, DockPlacement position = static_cast<DockPlacement>(DOCK_NONE), int docking_param = -1), gdl_dock_item_dock_to)
   



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