Revert "[Tizen][Temporary Fix] Restore to call InputMethodContext::Finalize()" 32/190332/1
authordongsug.song <dongsug.song@samsung.com>
Mon, 1 Oct 2018 04:37:01 +0000 (13:37 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Mon, 1 Oct 2018 04:37:07 +0000 (13:37 +0900)
This reverts commit b097276829c6e919961845e76cb135dd0afa28b4.

Change-Id: I092139542d396716bdb170ef637538b98669e556

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

index abb2e3f..ddcd31c 100755 (executable)
@@ -460,12 +460,14 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_InputMethodContext_CallbackData(v
 }
 
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodContext_Finalize(void * jarg1) {
-  Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ;
+  //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted.
+  //Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ;
 
-  arg1 = (Dali::InputMethodContext *)jarg1;
+  //arg1 = (Dali::InputMethodContext *)jarg1;
   {
     try {
-      (arg1)->Finalize();
+      //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted.
+      //(arg1)->Finalize();
     } catch (std::out_of_range& e) {
       {
         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;