forked from enlightenment/efl
fileselector: Add missing call to group_del
Remove unused refcount thingy and enforce call to smart del. Fixes T4598
This commit is contained in:
parent
d689afccae
commit
abcd918946
|
@ -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 = eina_list_free(sd->multi_selection);
|
||||||
sd->multi_selection_tmp = eina_list_free(sd->multi_selection_tmp);
|
sd->multi_selection_tmp = eina_list_free(sd->multi_selection_tmp);
|
||||||
|
|
||||||
sd->files_view = NULL;
|
sd->files_view = NULL;
|
||||||
|
_elm_fileselector_smart_del_do(obj, sd);
|
||||||
/* this one matching EINA_REFCOUNT_INIT() */
|
|
||||||
EINA_REFCOUNT_UNREF(sd) _elm_fileselector_smart_del_do(obj, sd);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Evas_Object *
|
EAPI Evas_Object *
|
||||||
|
|
|
@ -30,8 +30,6 @@ typedef struct _Elm_Fileselector_Item_Data Elm_Fileselector_Item_Data;
|
||||||
typedef struct _Elm_Fileselector_Data Elm_Fileselector_Data;
|
typedef struct _Elm_Fileselector_Data Elm_Fileselector_Data;
|
||||||
struct _Elm_Fileselector_Data
|
struct _Elm_Fileselector_Data
|
||||||
{
|
{
|
||||||
EINA_REFCOUNT;
|
|
||||||
|
|
||||||
Evas_Object *obj;
|
Evas_Object *obj;
|
||||||
Evas_Object *path_entry;
|
Evas_Object *path_entry;
|
||||||
Evas_Object *name_entry;
|
Evas_Object *name_entry;
|
||||||
|
|
Loading…
Reference in New Issue