[Tizen] Support legacy way to create InputMethodContext accepted/tizen/unified/20191010.032832 submit/tizen/20191008.070110
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 8 Oct 2019 05:57:02 +0000 (14:57 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 8 Oct 2019 05:57:06 +0000 (14:57 +0900)
This reverts commit 66edb9117e469a2bb25e485d7f9eed43e974002e.

dali-csharp-binder/src/input-method-context.cpp

index e0c3a80..3f169c6 100755 (executable)
@@ -549,7 +549,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_InputMethodContext_New() {
 
   {
     try {
-      result = Dali::InputMethodContext::New();
+      result = Dali::InputMethodContext::New( Dali::Stage::GetCurrent().GetRootLayer() );
     } catch (std::out_of_range& e) {
       {
         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;