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:
Lauro Moura 2018-06-19 13:28:57 -04:00 committed by Mike Blumenkrantz
parent f80847c87f
commit ba771f8b69
1 changed files with 1 additions and 1 deletions

View File

@ -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);