summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2013-12-25 11:01:28 +0200
committerYakov Goldberg <yakov.g@samsung.com>2013-12-25 11:01:28 +0200
commite0cb0fdb6ca204d75671a204c7f007ebc2038785 (patch)
tree462c81cc5995ce2f36ef02de14a9aa99a81ee05b
parente66d7137eba2a3a6c5ebfd31d739296cafc85608 (diff)
parent4a4f3b90f6c2aba047213ff694d536d8e7c0fed2 (diff)
Merge branch 'develop'v0.2.3
- delete unused functions
-rw-r--r--src/bin/egui_gui/propview.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/bin/egui_gui/propview.c b/src/bin/egui_gui/propview.c
index a8f5a1f..a35fef7 100644
--- a/src/bin/egui_gui/propview.c
+++ b/src/bin/egui_gui/propview.c
@@ -55,23 +55,6 @@ _pfd_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *ev
55 eo_do(obj, eo_base_data_del("editor")); 55 eo_do(obj, eo_base_data_del("editor"));
56} 56}
57 57
58static char *
59_propv_item_label_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
60{
61 It_Data *it_data = data;
62
63 switch (it_data->type)
64 {
65 case DESCRIPTION_TYPE:
66 return strdup("Description");
67 case PROPERTY_TYPE:
68 return strdup("Properties");
69 case CALLBACK_TYPE:
70 return strdup("Callbacks");
71 }
72 return NULL;
73}
74
75static Eina_Bool 58static Eina_Bool
76_property_item_content_get(It_Data *it_data, Eo *box) 59_property_item_content_get(It_Data *it_data, Eo *box)
77{ 60{
@@ -258,17 +241,6 @@ _item_content_get(It_Data *it_data)
258 return box; 241 return box;
259} 242}
260 243
261static void
262_item_del_cb(void *data, Eo *obj EINA_UNUSED)
263{
264 It_Data *it = data;
265 if (it)
266 {
267 it->refs--;
268 if (!it->refs) free(it);
269 }
270}
271
272PropViewCbs *propview_cbs_get() 244PropViewCbs *propview_cbs_get()
273{ 245{
274 if (!_view_cbs) _view_cbs = calloc(1, sizeof(*_view_cbs)); 246 if (!_view_cbs) _view_cbs = calloc(1, sizeof(*_view_cbs));