summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-02-15 20:07:38 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-02-15 20:11:22 +0900
commitabcd91894697d27223b00d075cf1429f17909693 (patch)
treecc5526e8d5356af75876454c04ffb5bad1486b25 /src/lib/elementary
parentd689afccaeceacd1f8e06e9d161ca7591a6a334f (diff)
fileselector: Add missing call to group_del
Remove unused refcount thingy and enforce call to smart del. Fixes T4598
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elc_fileselector.c5
-rw-r--r--src/lib/elementary/elm_widget_fileselector.h2
2 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/elementary/elc_fileselector.c b/src/lib/elementary/elc_fileselector.c
index 183b6c499e..524ca802a4 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)
2029 2029
2030 sd->multi_selection = eina_list_free(sd->multi_selection); 2030 sd->multi_selection = eina_list_free(sd->multi_selection);
2031 sd->multi_selection_tmp = eina_list_free(sd->multi_selection_tmp); 2031 sd->multi_selection_tmp = eina_list_free(sd->multi_selection_tmp);
2032
2033 sd->files_view = NULL; 2032 sd->files_view = NULL;
2034 2033 _elm_fileselector_smart_del_do(obj, sd);
2035 /* this one matching EINA_REFCOUNT_INIT() */
2036 EINA_REFCOUNT_UNREF(sd) _elm_fileselector_smart_del_do(obj, sd);
2037} 2034}
2038 2035
2039EAPI Evas_Object * 2036EAPI Evas_Object *
diff --git a/src/lib/elementary/elm_widget_fileselector.h b/src/lib/elementary/elm_widget_fileselector.h
index 458e42b638..6cf369c2b9 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;
30typedef struct _Elm_Fileselector_Data Elm_Fileselector_Data; 30typedef struct _Elm_Fileselector_Data Elm_Fileselector_Data;
31struct _Elm_Fileselector_Data 31struct _Elm_Fileselector_Data
32{ 32{
33 EINA_REFCOUNT;
34
35 Evas_Object *obj; 33 Evas_Object *obj;
36 Evas_Object *path_entry; 34 Evas_Object *path_entry;
37 Evas_Object *name_entry; 35 Evas_Object *name_entry;