[NUI] Remove RegisterCallback function
authorhuiyu.eun <huiyu.eun@samsung.com>
Mon, 21 Dec 2020 08:16:20 +0000 (17:16 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 21 Dec 2020 12:05:23 +0000 (21:05 +0900)
stringDelegate registration is aledy called from the constructor.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
src/Tizen.NUI/src/internal/Interop/NDalicPINVOKE.cs
src/Tizen.NUI/src/internal/NUICoreBackend.cs

index d0e941b..a8d274f 100755 (executable)
@@ -216,10 +216,6 @@ namespace Tizen.NUI
             {
                 SWIGRegisterStringCallbackNDalic(stringDelegate);
             }
-            public static void RegistCallback()
-            {
-                SWIGRegisterStringCallbackNDalic(stringDelegate);
-            }
         }
         static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
         static NDalicPINVOKE()
index 258d910..615cc1c 100755 (executable)
@@ -143,7 +143,6 @@ namespace Tizen.NUI
         public void Run(string[] args)
         {
             TizenSynchronizationContext.Initialize();
-            NDalicPINVOKE.SWIGStringHelper.RegistCallback();
 
             args[0] = Tizen.Applications.Application.Current.ApplicationInfo.ExecutablePath;
             if (string.IsNullOrEmpty(args[0]))