CanvasView: Change api name 40/262040/1
authorJunsuChoi <jsuya.choi@samsung.com>
Mon, 2 Aug 2021 04:22:19 +0000 (13:22 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Mon, 2 Aug 2021 04:22:19 +0000 (13:22 +0900)
Since the method name of the same concept in CanvasView is used as
'RemoveAllDrawables', change it to maintain the concept.

Change-Id: I4b05bf0250e44522df7ddd1c6e63e5563a8821d5

dali-csharp-binder/src/canvas-view.cpp

index a7fef94..12d961a 100644 (file)
@@ -1017,7 +1017,7 @@ CSharp_Dali_DrawableGroup_AddDrawable(char *pDrawableGroup, char *pDrawable) {
 }
 
 SWIGEXPORT bool SWIGSTDCALL
-CSharp_Dali_DrawableGroup_Clear(char *pDrawableGroup) {
+CSharp_Dali_DrawableGroup_RemoveAllDrawables(char *pDrawableGroup) {
   Dali::CanvasRenderer::DrawableGroup drawableGroup;
   bool result = false;
 
@@ -1031,7 +1031,7 @@ CSharp_Dali_DrawableGroup_Clear(char *pDrawableGroup) {
 
   {
     try {
-      result = drawableGroup.Clear();
+      result = drawableGroup.RemoveAllDrawables();
     }
     CALL_CATCH_EXCEPTION(0);
   }