[Application] Fix widget instance id bug (#1197) (#1373)
[platform/core/csapi/tizenfx.git] / src / Tizen.Applications.WidgetApplication / Tizen.Applications / WidgetType.cs
old mode 100755 (executable)
new mode 100644 (file)
index c19e81e..f63052a
@@ -52,7 +52,7 @@ namespace Tizen.Applications
             if (b == null)
                 return 0;
 
-            b.Bind(context, Id);
+            b.Bind(context, Interop.Widget.GetId(context));
             WidgetInstances.Add(b);
             if (content != IntPtr.Zero)
                 bundle = new Bundle(new SafeBundleHandle(content, false));