discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ba771f8b698f9239c82edde45db85e92d81b50a4

commit ba771f8b698f9239c82edde45db85e92d81b50a4
Author: Lauro Moura <[email protected]>
Date:   Tue Jun 19 13:28:57 2018 -0400

    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
---
 src/bindings/mono/efl_mono/efl_all.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bindings/mono/efl_mono/efl_all.cs 
b/src/bindings/mono/efl_mono/efl_all.cs
index 440f44b773..0d5821b0e9 100644
--- a/src/bindings/mono/efl_mono/efl_all.cs
+++ b/src/bindings/mono/efl_mono/efl_all.cs
@@ -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);

-- 


Reply via email to