elm ctx_popup: Fixed ctx_popup parent_cut logic. Patch by Bluezery
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 22 May 2012 06:58:47 +0000 (06:58 +0000)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 22 May 2012 06:58:47 +0000 (06:58 +0000)
<ohpowel@gmail.com>
On Mon, May 21, 2012 at 5:32 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> When ctx_popup is deleted, it calls "elm_widget_sub_object_del(parent,
> popup)" so that ctx_popup's parent can delete it's sub_ojbect,
> "ctx_popup".
> But this is not needed because parent already deletes it's sub-object
> in elm_widget.c
>
> Thanks
>
> --
> BRs,
> Kim.

SVN revision: 71301

src/lib/elc_ctxpopup.c

index e47498b..4d5c87c 100644 (file)
@@ -229,8 +229,6 @@ _parent_cut_off(Evas_Object *obj)
                                        EVAS_CALLBACK_RESIZE,
                                        _parent_resize,
                                        obj);
-
-   elm_widget_sub_object_del(wd->parent, obj);
 }
 
 static void