diff options
author | Yoshihisa Uchida <uchida@rockbox.org> | 2010-07-08 13:54:28 +0000 |
---|---|---|
committer | Yoshihisa Uchida <uchida@rockbox.org> | 2010-07-08 13:54:28 +0000 |
commit | bc46541bcd895cc5b16b8c9815632fb182481ad2 (patch) | |
tree | 87d5edc644f28370e7ada14880aafc2756495bff | |
parent | cd98d01926c9a8fbc981a93546726c3d4f7d4a03 (diff) | |
download | rockbox-bc46541bcd895cc5b16b8c9815632fb182481ad2.tar.gz rockbox-bc46541bcd895cc5b16b8c9815632fb182481ad2.zip |
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
-rw-r--r-- | apps/plugin.c | 1 | ||||
-rw-r--r-- | apps/plugin.h | 1 | ||||
-rw-r--r-- | apps/plugins/text_viewer/text_viewer.c | 2 |
3 files changed, 1 insertions, 3 deletions
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 = { | |||
721 | 721 | ||
722 | #ifdef HAVE_LCD_BITMAP | 722 | #ifdef HAVE_LCD_BITMAP |
723 | sb_skin_get_info_vp, | 723 | sb_skin_get_info_vp, |
724 | sb_skin_update, | ||
725 | #endif | 724 | #endif |
726 | 725 | ||
727 | /* new stuff at the end, sort into place next time | 726 | /* 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 { | |||
888 | 888 | ||
889 | #ifdef HAVE_LCD_BITMAP | 889 | #ifdef HAVE_LCD_BITMAP |
890 | struct viewport *(*sb_skin_get_info_vp)(enum screen_type screen); | 890 | struct viewport *(*sb_skin_get_info_vp)(enum screen_type screen); |
891 | void (*sb_skin_update)(enum screen_type screen, bool force); | ||
892 | #endif | 891 | #endif |
893 | 892 | ||
894 | /* new stuff at the end, sort into place next time | 893 | /* 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) | |||
59 | while (!done) { | 59 | while (!done) { |
60 | #ifdef HAVE_LCD_BITMAP | 60 | #ifdef HAVE_LCD_BITMAP |
61 | if (rb->global_settings->statusbar != STATUSBAR_OFF && preferences->statusbar) | 61 | if (rb->global_settings->statusbar != STATUSBAR_OFF && preferences->statusbar) |
62 | rb->sb_skin_update(SCREEN_MAIN, true); | 62 | rb->send_event(GUI_EVENT_ACTIONUPDATE, NULL); |
63 | #endif | 63 | #endif |
64 | 64 | ||
65 | if (display_update) | 65 | if (display_update) |