win->Release();
gint handle_key_release_event(GtkWidget *w, GdkEventKey* event, gpointer p){  // Don't pass shift, control and alt as key release events  if (event->keyval == GDK_Shift_L      || event->keyval == GDK_Shift_R      || event->keyval == GDK_Control_L      || event->keyval == GDK_Control_R      || event->keyval == GDK_Alt_L      || event->keyval == GDK_Alt_R)    return PR_TRUE;  nsKeyEvent kevent;  InitKeyEvent(event, p, kevent, NS_KEY_UP);  nsWindow * win = (nsWindow *) p;  win->OnKey(kevent);  return PR_TRUE;}