Commit 78311c21 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Clean useless code

parent 556a4de2
...@@ -392,22 +392,6 @@ intf_mini_player_visible_set(interface *intf, bool visible) ...@@ -392,22 +392,6 @@ intf_mini_player_visible_set(interface *intf, bool visible)
return true; return true;
} }
//FIXME REMOVE
void
intf_update_mini_player(interface *intf)
{
if((audio_player_play_state(intf->p_mini_player) == true) && (intf_mini_player_visible_get(intf) == false))
{
intf_mini_player_visible_set(intf, true);
}
if((audio_player_play_state(intf->p_mini_player) == false) && (audio_player_fs_state(intf->p_mini_player) == true))
{
audio_player_stop(intf->p_mini_player);
}
}
void void
intf_start_audio_player(interface *intf, Eina_Array *array, int pos) intf_start_audio_player(interface *intf, Eina_Array *array, int pos)
{ {
......
...@@ -115,10 +115,6 @@ intf_mini_player_visible_get(interface *); ...@@ -115,10 +115,6 @@ intf_mini_player_visible_get(interface *);
bool bool
intf_mini_player_visible_set(interface *intf, bool visible); intf_mini_player_visible_set(interface *intf, bool visible);
//FIXME REMOVE
void
intf_update_mini_player(interface *);
/* Other */ /* Other */
Evas_Object * Evas_Object *
intf_get_main_naviframe(interface *intf); intf_get_main_naviframe(interface *intf);
......
...@@ -117,8 +117,6 @@ sidebar_selected_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info) ...@@ -117,8 +117,6 @@ sidebar_selected_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
return; return;
} }
intf_update_mini_player(cd->intf);
switch(cd->index){ switch(cd->index){
case VIEW_VIDEO: case VIEW_VIDEO:
intf_show_view(cd->intf, VIEW_VIDEO); intf_show_view(cd->intf, VIEW_VIDEO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment