efl_mono: Fix call to System.Threading.Thread.
Summary: It was resolving to efl.Thread instead. Reviewers: devilhorns, felipealmeida, zmike Reviewed By: zmike Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6261
This commit is contained in:
parent
f80847c87f
commit
ba771f8b69
|
@ -65,7 +65,7 @@ public static class Config {
|
|||
// TODO Support elm command line arguments
|
||||
#if WIN32 // Not a native define, we define it in our build system
|
||||
// Ecore_Win32 uses OleInitialize, which requires single thread apartments
|
||||
if (Thread.CurrentThread.GetApartmentState() != ApartmentState.STA)
|
||||
if (System.Threading.Thread.CurrentThread.GetApartmentState() != ApartmentState.STA)
|
||||
throw new InvalidOperationException("UI Applications require STAThreadAttribute in Main()");
|
||||
#endif
|
||||
elm_init(0, IntPtr.Zero);
|
||||
|
|
Loading…
Reference in New Issue