plugin api: delete sb_skin_update().

text viewer: use send_event() instead of sb_skin_update(). thanks to teru.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27348 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Yoshihisa Uchida 2010-07-08 13:54:28 +00:00
parent cd98d01926
commit bc46541bcd
3 changed files with 1 additions and 3 deletions

View file

@ -721,7 +721,6 @@ static const struct plugin_api rockbox_api = {
#ifdef HAVE_LCD_BITMAP
sb_skin_get_info_vp,
sb_skin_update,
#endif
/* new stuff at the end, sort into place next time

View file

@ -888,7 +888,6 @@ struct plugin_api {
#ifdef HAVE_LCD_BITMAP
struct viewport *(*sb_skin_get_info_vp)(enum screen_type screen);
void (*sb_skin_update)(enum screen_type screen, bool force);
#endif
/* new stuff at the end, sort into place next time

View file

@ -59,7 +59,7 @@ enum plugin_status plugin_start(const void* file)
while (!done) {
#ifdef HAVE_LCD_BITMAP
if (rb->global_settings->statusbar != STATUSBAR_OFF && preferences->statusbar)
rb->sb_skin_update(SCREEN_MAIN, true);
rb->send_event(GUI_EVENT_ACTIONUPDATE, NULL);
#endif
if (display_update)