[Tizen] VisualFactory.Get() is set as obsolete 02/144102/1
authorminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 08:32:39 +0000 (17:32 +0900)
committerminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 08:32:39 +0000 (17:32 +0900)
This reverts commit 6a64c1dc61611bcef290021b843871853955db67.

Change-Id: I59bc8d9e8799f5ad079c4c48f889f6313bbffcb4

Tizen.NUI/src/public/VisualFactory.cs
packaging/csapi-nui.spec

index 5d40948..b1e1d73 100755 (executable)
@@ -13,6 +13,7 @@
 * limitations under the License.
 *
 */
+using System;
 
 namespace Tizen.NUI
 {
@@ -66,11 +67,8 @@ namespace Tizen.NUI
         }
 
 
-        /// <summary>
-        /// Create or retrieve VisualFactory singleton.
-        /// </summary>
-        /// <returns>A handle to the VisualFactory control.</returns>
-        private static VisualFactory Get()
+        [Obsolete("Please do not use! this will be deprecated, please use VisualFactory.Instance instead")]
+        public static VisualFactory Get()
         {
             VisualFactory ret = new VisualFactory(NDalicPINVOKE.VisualFactory_Get(), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index d8c8cd7..ae85cbd 100755 (executable)
@@ -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}-pre1.tar.gz
+Source0:    %{name}-%{version}.tar.gz
 Source1:    %{name}.manifest
 
 AutoReqProv: no