nsWindow *win = (nsWindow *)p; win->DispatchFocus(gevent);
win->AddRef(); win->DispatchFocus(gevent); win->Release();
gint handle_focus_out_event(GtkWidget *w, GdkEventFocus * event, gpointer p){  nsGUIEvent gevent;  InitFocusEvent(event, p, gevent, NS_LOSTFOCUS);  nsWindow *win = (nsWindow *)p;  win->DispatchFocus(gevent);  UninitFocusEvent(event, p, gevent, NS_LOSTFOCUS);  return PR_TRUE;}