Revert "Revert "set OnBoundsChangedCallback when destroyed"
authorwoojin nam <w.nam@samsung.com>
Fri, 28 Jun 2013 13:34:03 +0000 (13:34 +0000)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Fri, 28 Jun 2013 13:34:03 +0000 (13:34 +0000)
 This reverts commit 61037cc2ee707daa21d3a423896454ad66fa9c24"

This reverts commit 3b82f25e12bbaf3094dd217eae6cc806b84c7ceb

Change-Id: I22c33058be86e00be30895400925213b1484813b

src/graphics/opengl/FGrpEgl.cpp

index 5815706..d8b07c3 100644 (file)
@@ -200,6 +200,7 @@ public:
                        _VisualElementImpl* pVisualElementImpl = _VisualElementImpl::GetInstance(*pVisualElement);
                        if (pVisualElementImpl != null)
                        {
+                               pVisualElementImpl->SetBoundsChangedCallback(null, null);
                                pVisualElementImpl->SetDestroyedCallback(null, null);
                        }
                }