From 6a64c1dc61611bcef290021b843871853955db67 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Mon, 14 Aug 2017 16:48:17 +0900 Subject: [PATCH] Revert "[Tizen] VisualFactory.Get() is set as obsolete" This reverts commit 679bc0e9893f3a848f2822bd8428199601912658. Change-Id: I5ae5f8e02fc131d65b982dcd217628c3f7b916a6 --- Tizen.NUI/Tizen.NUI.csproj | 2 +- Tizen.NUI/src/public/VisualFactory.cs | 8 +++++--- packaging/csapi-nui.spec | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Tizen.NUI/Tizen.NUI.csproj b/Tizen.NUI/Tizen.NUI.csproj index 4b2d09f..1ba9baf 100755 --- a/Tizen.NUI/Tizen.NUI.csproj +++ b/Tizen.NUI/Tizen.NUI.csproj @@ -1,7 +1,7 @@  - 0.2.49 + 0.2.49-pre1 Samsung Electronics © Samsung Electronics Co., Ltd All Rights Reserved diff --git a/Tizen.NUI/src/public/VisualFactory.cs b/Tizen.NUI/src/public/VisualFactory.cs index b1e1d73..5d40948 100755 --- a/Tizen.NUI/src/public/VisualFactory.cs +++ b/Tizen.NUI/src/public/VisualFactory.cs @@ -13,7 +13,6 @@ * limitations under the License. * */ -using System; namespace Tizen.NUI { @@ -67,8 +66,11 @@ namespace Tizen.NUI } - [Obsolete("Please do not use! this will be deprecated, please use VisualFactory.Instance instead")] - public static VisualFactory Get() + /// + /// Create or retrieve VisualFactory singleton. + /// + /// A handle to the VisualFactory control. + private static VisualFactory Get() { VisualFactory ret = new VisualFactory(NDalicPINVOKE.VisualFactory_Get(), true); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); diff --git a/packaging/csapi-nui.spec b/packaging/csapi-nui.spec index 3f444eb..3a6e032 100755 --- a/packaging/csapi-nui.spec +++ b/packaging/csapi-nui.spec @@ -5,7 +5,7 @@ Release: 1 Group: Development/Libraries License: Apache-2.0 and BSD-3-Clause and MIT URL: https://www.tizen.org -Source0: %{name}-%{version}.tar.gz +Source0: %{name}-%{version}-pre1.tar.gz Source1: %{name}.manifest AutoReqProv: no -- 2.7.4