diff --git a/apps/plugin.c b/apps/plugin.c index 1196a88195..4c0ec84aa0 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -565,10 +565,6 @@ static const struct plugin_api rockbox_api = { /* statusbars */ &statusbars, gui_syncstatusbar_draw, -#ifdef HAVE_LCD_BITMAP - sb_skin_get_info_vp, - sb_skin_update, -#endif /* options */ get_settings_list, @@ -722,6 +718,12 @@ static const struct plugin_api rockbox_api = { #endif rbversion, + +#ifdef HAVE_LCD_BITMAP + sb_skin_get_info_vp, + sb_skin_update, +#endif + /* new stuff at the end, sort into place next time the API gets incompatible */ }; diff --git a/apps/plugin.h b/apps/plugin.h index 21ec7e42df..bc37c9ce95 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -695,10 +695,6 @@ struct plugin_api { /* scroll bar */ struct gui_syncstatusbar *statusbars; void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw); -#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 /* options */ const struct settings_list* (*get_settings_list)(int*count); @@ -889,6 +885,12 @@ struct plugin_api { #endif const char *rbversion; + +#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 the API gets incompatible */ };