GtkWindow *window = NULL; GtkBin    *bin = NULL; #if defined (DEBUG_sarri) || defined(DEBUG_blizzard)
gint handle_toplevel_focus_in(GtkWidget *      aWidget,                               GdkEventFocus *  aGdkFocusEvent,                               gpointer         aData){#ifdef DEBUG_saari  printf("handle_toplevel_focus_in\n");#endif  if (!aWidget) {    return PR_TRUE;  }  if (!aGdkFocusEvent) {    return PR_TRUE;  }  nsWidget *widget = (nsWidget *)aData;  if (!widget) {    return PR_TRUE;  }  nsGUIEvent eventGotFocus;  eventGotFocus.message = NS_GOTFOCUS;#ifdef DEBUG_saari  printf("Send NS_GOTFOCUS from handle_toplevel_focus_in\n");#endif  eventGotFocus.widget  = widget;  eventGotFocus.eventStructType = NS_GUI_EVENT;  eventGotFocus.time = 0;  eventGotFocus.point.x = 0;  eventGotFocus.point.y = 0;   NS_ADDREF(widget);   nsEventStatus statusGotFocus;  widget->DispatchEvent(&eventGotFocus, statusGotFocus);    NS_RELEASE(widget);  return PR_TRUE;}