keyboard: fix exception: global.current_event_time is not a function

This commit is contained in:
Rui Matos 2011-11-04 00:22:00 +00:00
parent 779b18bf48
commit d2bd9efc25

View File

@ -289,7 +289,7 @@ Keyboard.prototype = {
if (focus && (focus._extended_keys || (focus._key && focus._key.extended_key))) if (focus && (focus._extended_keys || (focus._key && focus._key.extended_key)))
return; return;
let time = global.current_event_time(); let time = global.get_current_time();
if (focus instanceof Clutter.Text) if (focus instanceof Clutter.Text)
this.Show(time); this.Show(time);
else else