summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-03-03 16:38:24 +0000
committerDaniel Kolesa <d.kolesa@samsung.com>2015-03-03 16:38:24 +0000
commit8eca257bf81fce0afd01a399ddc81df959e9131a (patch)
tree52c58b21f701f8766dfe74d759d570178cd191b8 /src
parenta8cfea6911c6f05031d79e761532c59ff5fad232 (diff)
elua: connect del callback by default
Diffstat (limited to 'src')
-rw-r--r--src/bindings/luajit/eo.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/luajit/eo.lua b/src/bindings/luajit/eo.lua
index 5aad9e0bef..4e047bc89b 100644
--- a/src/bindings/luajit/eo.lua
+++ b/src/bindings/luajit/eo.lua
@@ -318,6 +318,8 @@ M.__ctor_common = function(klass, parent, ctor, loff, ...)
318 ret = eo.eo_finalize() 318 ret = eo.eo_finalize()
319 eo._eo_do_end(nil) 319 eo._eo_do_end(nil)
320 end 320 end
321 eo.eo_event_callback_priority_add(eo._EO_BASE_EVENT_DEL, 0, eo_event_del,
322 nil)
321 ffi.gc(ret, obj_gccb) 323 ffi.gc(ret, obj_gccb)
322 return ret 324 return ret
323end 325end