IntPtr get_default_style_cb_safe (IntPtr type_info_ptr)
{
try {
return get_default_style_cb (type_info_ptr);
} catch (Exception ex) {
try {
Console.WriteLine ("Moonlight: Unhandled exception in Application.get_default_style_cb_safe: {0}", ex);
} catch {
}
}
return IntPtr.Zero;
}