Added OSP_EXPORT on _VisualElementSurfaceImpl class
authorBongjoo Seo <bongjoo.seo@samsung.com>
Tue, 16 Apr 2013 12:12:22 +0000 (21:12 +0900)
committerBongjoo Seo <bongjoo.seo@samsung.com>
Tue, 16 Apr 2013 12:12:22 +0000 (21:12 +0900)
Change-Id: Ice85fabfc25c1110d5d2e420a3e7dbfd71b57b2b
Signed-off-by: Bongjoo Seo <bongjoo.seo@samsung.com>
src/ui/animations/FUiAnim_EflVisualElementSurfaceImpl.cpp
src/ui/inc/FUiAnim_VisualElementSurfaceImpl.h

index 30cc3fa..474d10e 100644 (file)
@@ -149,8 +149,11 @@ _EflVisualElementSurfaceImpl::~_EflVisualElementSurfaceImpl(void)
        if (__pEvasImage != null)
        {
                evas_object_hide(__pEvasImage);
-               evas_object_image_data_set(__pEvasImage, null);
-               evas_object_del(__pEvasImage);
+               if (__pBuffer)
+               {
+                       evas_object_image_data_set(__pEvasImage, null);
+                       evas_object_del(__pEvasImage);
+               }
                evas_object_smart_member_del(__pEvasImage);
        }
 
index 7fe6c0d..88784f0 100644 (file)
@@ -42,7 +42,7 @@ namespace Tizen { namespace Ui { namespace Animations
 {
 class DisplayContext;
 
-class _VisualElementSurfaceImpl
+class _OSP_EXPORT_ _VisualElementSurfaceImpl
        : public Tizen::Base::Object
 {
 protected: