Add a reference of GtkIMContextCocoa to GtkIMCocoaView.
Commit result string from GtkIMCocoaView.

Finally I enabled to input Japanese text!