non relevant changes

This commit is contained in:
Eduardo Bart
2012-03-14 15:45:15 -03:00
parent 27b83fa722
commit b46d4c4d5f
22 changed files with 53 additions and 67 deletions

View File

@@ -37,7 +37,7 @@ function createWidget(style, parent)
end
function scheduleEvent(callback, delay)
local event = g_dispatcher.scheduleEvent(callback, delay)
local event = g_eventDispatcher.scheduleEvent(callback, delay)
-- must hold a reference to the callback, otherwise it would be collected
event._callback = callback
@@ -45,7 +45,7 @@ function scheduleEvent(callback, delay)
end
function addEvent(callback, front)
local event = g_dispatcher.addEvent(callback, front)
local event = g_eventDispatcher.addEvent(callback, front)
-- must hold a reference to the callback, otherwise it would be collected
event._callback = callback
return event