fileselector: Add missing call to group_del

Remove unused refcount thingy and enforce call to smart del.

Fixes T4598
This commit is contained in:
Jean-Philippe Andre 2017-02-15 20:07:38 +09:00
parent d689afccae
commit abcd918946
2 changed files with 1 additions and 6 deletions

View File

@ -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 *

View File

@ -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;