nsKeyEvent kevent(NS_KEY_UP, win);
nsKeyEvent kevent(PR_TRUE, NS_KEY_UP, win);
gint handle_key_release_event_for_text(GtkObject *w, GdkEventKey* event,                                       gpointer p){  nsTextWidget* win = (nsTextWidget*)p;  nsKeyEvent kevent(NS_KEY_UP, win);  InitKeyEvent(event, kevent);  NS_ADDREF(win);  win->OnKey(kevent);  NS_RELEASE(win);    if (w)  {    gtk_signal_emit_stop_by_name (GTK_OBJECT(w), "key_release_event");  }  return PR_TRUE;}