diff nodejs/mbfly_njs.cc @ 681:b601a4d6f7d1

Change kbevent to kbevents and hide X_MB_kbevents()
author Thinker K.F. Li <thinker@branda.to>
date Fri, 06 Aug 2010 23:04:55 +0800
parents a588eefd3f04
children 7685c57e29d0
line wrap: on
line diff
--- a/nodejs/mbfly_njs.cc	Fri Aug 06 22:56:58 2010 +0800
+++ b/nodejs/mbfly_njs.cc	Fri Aug 06 23:04:55 2010 +0800
@@ -65,9 +65,9 @@
     X_njs_MB_init_handle_connection(obj);
     xnjsmb_coord_mkroot(self);
     
-    subject = X_MB_kbevents(obj->xrt);
+    subject = X_njs_MB_kbevents(obj);
     subject_o = export_xnjsmb_auto_subject_new(subject);
-    SET(self, "kbevent", subject_o);
+    SET(self, "kbevents", subject_o);
 
     return obj;
 }