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)
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
intf_start_audio_player(interface *intf, Eina_Array *array, int pos)
{
......
......@@ -115,10 +115,6 @@ intf_mini_player_visible_get(interface *);
bool
intf_mini_player_visible_set(interface *intf, bool visible);
//FIXME REMOVE
void
intf_update_mini_player(interface *);
/* Other */
Evas_Object *
intf_get_main_naviframe(interface *intf);
......
......@@ -117,8 +117,6 @@ sidebar_selected_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
return;
}
intf_update_mini_player(cd->intf);
switch(cd->index){
case 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