public void Initialize ()
{
if (automationEventHandlers != null)
return;
instance = this;
Registry.Initialize (true);
automationEventHandlers = new List<AutomationEventHandlerData> ();
propertyEventHandlers = new List<PropertyChangedEventHandlerData> ();
structureEventHandlers = new List<StructureChangedEventHandlerData> ();
focusChangedHandlers = new List<FocusChangedEventHandler> ();
Desktop.DescriptionChanged += OnDescriptionChanged;
Desktop.NameChanged += OnNameChanged;
Desktop.StateChanged += OnStateChanged;
Desktop.ChildAdded += OnChildAdded;
Desktop.ChildRemoved += OnChildRemoved;
string [] args = new string [0];
Gdk.Global.InitCheck (ref args);
}