From: Jean-Philippe Andre Date: Wed, 15 Feb 2017 11:07:38 +0000 (+0900) Subject: fileselector: Add missing call to group_del X-Git-Tag: upstream/1.20.0~1997 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abcd91894697d27223b00d075cf1429f17909693;p=platform%2Fupstream%2Fefl.git fileselector: Add missing call to group_del Remove unused refcount thingy and enforce call to smart del. Fixes T4598 --- diff --git a/src/lib/elementary/elc_fileselector.c b/src/lib/elementary/elc_fileselector.c index 183b6c4..524ca80 100644 --- a/src/lib/elementary/elc_fileselector.c +++ b/src/lib/elementary/elc_fileselector.c @@ -2029,11 +2029,8 @@ _elm_fileselector_efl_canvas_group_group_del(Eo *obj, Elm_Fileselector_Data *sd) sd->multi_selection = eina_list_free(sd->multi_selection); sd->multi_selection_tmp = eina_list_free(sd->multi_selection_tmp); - sd->files_view = NULL; - - /* this one matching EINA_REFCOUNT_INIT() */ - EINA_REFCOUNT_UNREF(sd) _elm_fileselector_smart_del_do(obj, sd); + _elm_fileselector_smart_del_do(obj, sd); } EAPI Evas_Object * diff --git a/src/lib/elementary/elm_widget_fileselector.h b/src/lib/elementary/elm_widget_fileselector.h index 458e42b..6cf369c 100644 --- a/src/lib/elementary/elm_widget_fileselector.h +++ b/src/lib/elementary/elm_widget_fileselector.h @@ -30,8 +30,6 @@ typedef struct _Elm_Fileselector_Item_Data Elm_Fileselector_Item_Data; typedef struct _Elm_Fileselector_Data Elm_Fileselector_Data; struct _Elm_Fileselector_Data { - EINA_REFCOUNT; - Evas_Object *obj; Evas_Object *path_entry; Evas_Object *name_entry;