summaryrefslogtreecommitdiffstats
path: root/ganv/Item.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ganv/Item.hpp')
-rw-r--r--ganv/Item.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ganv/Item.hpp b/ganv/Item.hpp
index fb2667d..a2dbadc 100644
--- a/ganv/Item.hpp
+++ b/ganv/Item.hpp
@@ -40,9 +40,8 @@ public:
Item(GanvItem* gobj)
: _gobj(gobj)
{
- GQuark wrapper_key = g_quark_from_string("ganvmm");
+ ganv_item_set_wrapper(gobj, this);
if (gobj && ganv_item_get_parent(gobj)) {
- g_object_set_qdata(G_OBJECT(_gobj), wrapper_key, this);
g_signal_connect(
G_OBJECT(_gobj), "event", G_CALLBACK(on_item_event), this);
}