From bc46541bcd895cc5b16b8c9815632fb182481ad2 Mon Sep 17 00:00:00 2001 From: Yoshihisa Uchida Date: Thu, 8 Jul 2010 13:54:28 +0000 Subject: 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 --- apps/plugin.c | 1 - apps/plugin.h | 1 - apps/plugins/text_viewer/text_viewer.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/plugin.c b/apps/plugin.c index 4c0ec84aa0..a102c327d3 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -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 diff --git a/apps/plugin.h b/apps/plugin.h index bc37c9ce95..d5a01684bd 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -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 diff --git a/apps/plugins/text_viewer/text_viewer.c b/apps/plugins/text_viewer/text_viewer.c index 62c7ca56c2..eae85213ac 100644 --- a/apps/plugins/text_viewer/text_viewer.c +++ b/apps/plugins/text_viewer/text_viewer.c @@ -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) -- cgit v1.2.3