rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=d4cf5ca0dca64634efdb8d0ccc09765a55c22664

commit d4cf5ca0dca64634efdb8d0ccc09765a55c22664
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Thu Jan 21 15:23:16 2016 +0200

    sound_editor: delete old and unused symbol sound_editor_file_choose
    
    Delete the fuction bacause it not needed more. Now sound editor is
    a static tab, and not needed more the additional window.
    
    Change-Id: I0df8e11b9d2186dec18fc0956b45ac3415583d0b
---
 src/bin/ui/editors/sound_editor.c | 43 ---------------------------------------
 src/bin/ui/editors/sound_editor.h | 26 -----------------------
 2 files changed, 69 deletions(-)

diff --git a/src/bin/ui/editors/sound_editor.c 
b/src/bin/ui/editors/sound_editor.c
index 86c070c..493de9d 100644
--- a/src/bin/ui/editors/sound_editor.c
+++ b/src/bin/ui/editors/sound_editor.c
@@ -743,46 +743,3 @@ sound_editor_window_add(Sound_Editor_Mode mode)
 
    return edit->markup;
 }
-
-void sound_editor_added_sounds_free(Eina_List *add_snd)
-{
-   Sound *data;
-
-   EINA_LIST_FREE(add_snd, data)
-     {
-        eina_stringshare_del(data->name);
-        eina_stringshare_del(data->src);
-        free(data);
-     }
-   add_snd = NULL;
-}
-
-/*
-Eina_Bool
-sound_editor_file_choose(Evas_Object *win, const char *selected)
-{
-   Elm_Object_Item *grid_item;
-   Sound_Editor *snd_edit;
-
-   if (!selected) return false;
-
-   assert(win != NULL);
-
-   snd_edit = evas_object_data_get(win, SND_EDIT_KEY);
-
-   assert(snd_edit != NULL);
-
-   grid_item = elm_gengrid_search_by_text_item_get(snd_edit->gengrid, NULL,
-                                                   "elm.text", selected, 0);
-   if (grid_item)
-     {
-        elm_gengrid_item_selected_set(grid_item, true);
-        elm_gengrid_item_bring_in(grid_item, ELM_GENGRID_ITEM_SCROLLTO_MIDDLE);
-        return true;
-     }
-   return false;
-}
-
-#undef ITEM_WIDTH
-#undef ITEM_HEIGHT
-*/
diff --git a/src/bin/ui/editors/sound_editor.h 
b/src/bin/ui/editors/sound_editor.h
index c1cc298..180cb4c 100644
--- a/src/bin/ui/editors/sound_editor.h
+++ b/src/bin/ui/editors/sound_editor.h
@@ -74,16 +74,6 @@ typedef struct {
 } Selected_Sound_Data;
 
 /**
- * Delete added sounds from list
- *
- * @param add_snd list with data
- *
- * @ingroup Sound_Editor
- */
-void
-sound_editor_added_sounds_free(Eina_List *add_snd);
-
-/**
  * Show the whole inwin window by using some data
  * about loaded project (edj file)
  *
@@ -99,20 +89,4 @@ sound_editor_added_sounds_free(Eina_List *add_snd);
 Evas_Object *
 sound_editor_window_add(Sound_Editor_Mode mode);
 
-/**
- * This function will select the sound item by it's name. It is very useful
- * with sound property (setting another sound).
- *
- * @param win Pointer to inwin object, which was created with
- * sound_editor_window_add function.
- * @param selected Name of selected sound. If selected param is NULL, this
- * function do nothing.
- *
- * @return EINA_TRUE if successful or EINA_FALSE otherwise.
- *
- * @ingroup Sound_Editor
- */
-Eina_Bool
-sound_editor_file_choose(Evas_Object *win, const char *selected);
-
 #endif  /* SOUND_EDITOR_DIALOG_H */

-- 


Reply via email to