seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=0de4b6d2c3d7261f67383cd92e0b7a3453c5fa6b

commit 0de4b6d2c3d7261f67383cd92e0b7a3453c5fa6b
Author: deasung.kim <deasung....@samsung.com>
Date:   Tue Oct 8 15:41:06 2013 +0900

    ctxpopup: fix elm_object_content_unset didn't unpack content from box
    
    Reviewers: seoz
    
    Reviewed By: seoz
    
    Differential Revision: https://phab.enlightenment.org/D261
---
 ChangeLog              | 3 +++
 NEWS                   | 1 +
 src/lib/elc_ctxpopup.c | 1 +
 3 files changed, 5 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index a9ab155..7891a1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1680,3 +1680,6 @@
         handle styles at all (so styles were broken with the given
         namespace).
 
+2013-10-08  Daesung Kim (ad960009)
+
+        * ctxpopup : fix elm_object_content_unset didn't unpack content from 
box
diff --git a/NEWS b/NEWS
index e40f674..bff325a 100644
--- a/NEWS
+++ b/NEWS
@@ -296,6 +296,7 @@ Fixes:
    * Fix the layout to swallow the contents again when theme is changed.
    * elm_player breaks theme due to poor namespacing
    * elm_popup breaks theme due to poor namespacing
+   * ctxpopup: fix elm_object_content_unset didn't unpack content from box
 
 Removals:
 
diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index 32ad8a4..4431cfa 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -857,6 +857,7 @@ _elm_ctxpopup_smart_content_unset(Eo *obj, void *_pd, 
va_list *list)
    content = sd->content;
    if (!content) goto end;
 
+   elm_box_unpack(sd->box, content);
    sd->content = NULL;
    sd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN;
 

-- 


Reply via email to