diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-07-12 13:38:40 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-07-12 13:38:40 +0000 |
commit | a874f77e1852867ab460ee89e28e0a14573d2318 (patch) | |
tree | f9c3df461ca1728c7730c594367a4efe22868885 /apps/plugin.h | |
parent | 64af2b3a16c1fc9968b50223b79321ca04cc53e4 (diff) | |
download | rockbox-a874f77e1852867ab460ee89e28e0a14573d2318.tar.gz rockbox-a874f77e1852867ab460ee89e28e0a14573d2318.zip |
text_viewer: remove unneeded code.
viewportmanager_theme_enable() sets values to passed viewport by viewport_set_defaults(), so no need to call sb_skin_get_info_vp() or viewport_set_defaults().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27399 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index d5a01684bd..b7cbf7e112 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -145,12 +145,12 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
145 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 145 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
146 | 146 | ||
147 | /* increase this every time the api struct changes */ | 147 | /* increase this every time the api struct changes */ |
148 | #define PLUGIN_API_VERSION 189 | 148 | #define PLUGIN_API_VERSION 190 |
149 | 149 | ||
150 | /* update this to latest version if a change to the api struct breaks | 150 | /* update this to latest version if a change to the api struct breaks |
151 | backwards compatibility (and please take the opportunity to sort in any | 151 | backwards compatibility (and please take the opportunity to sort in any |
152 | new function which are "waiting" at the end of the function table) */ | 152 | new function which are "waiting" at the end of the function table) */ |
153 | #define PLUGIN_MIN_API_VERSION 189 | 153 | #define PLUGIN_MIN_API_VERSION 190 |
154 | 154 | ||
155 | /* plugin return codes */ | 155 | /* plugin return codes */ |
156 | enum plugin_status { | 156 | enum plugin_status { |
@@ -886,10 +886,6 @@ struct plugin_api { | |||
886 | 886 | ||
887 | const char *rbversion; | 887 | const char *rbversion; |
888 | 888 | ||
889 | #ifdef HAVE_LCD_BITMAP | ||
890 | struct viewport *(*sb_skin_get_info_vp)(enum screen_type screen); | ||
891 | #endif | ||
892 | |||
893 | /* new stuff at the end, sort into place next time | 889 | /* new stuff at the end, sort into place next time |
894 | the API gets incompatible */ | 890 | the API gets incompatible */ |
895 | }; | 891 | }; |