From: Ray Strode Date: Thu, 6 Aug 2009 12:42:39 +0000 (-0400) Subject: [text] Drop unused functions X-Git-Tag: 0.7.0~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f4d5be76aeadf30c908f360a2764a1726a3c5e3b;p=thirdparty%2Fplymouth.git [text] Drop unused functions --- diff --git a/src/plugins/splash/text/plugin.c b/src/plugins/splash/text/plugin.c index 99092a09..f89a8a73 100644 --- a/src/plugins/splash/text/plugin.c +++ b/src/plugins/splash/text/plugin.c @@ -206,24 +206,6 @@ stop_animation (ply_boot_splash_plugin_t *plugin) ply_text_progress_bar_hide (plugin->progress_bar); } -void -on_keyboard_input (ply_boot_splash_plugin_t *plugin, - const char *keyboard_input, - size_t character_size) -{ -} - -void -on_backspace (ply_boot_splash_plugin_t *plugin) -{ -} - -void -on_enter (ply_boot_splash_plugin_t *plugin, - const char *line) -{ -} - void on_draw (ply_boot_splash_plugin_t *plugin, int x, @@ -249,15 +231,6 @@ on_erase (ply_boot_splash_plugin_t *plugin, static void add_handlers (ply_boot_splash_plugin_t *plugin) { - ply_window_add_keyboard_input_handler (plugin->window, - (ply_window_keyboard_input_handler_t) - on_keyboard_input, plugin); - ply_window_add_backspace_handler (plugin->window, - (ply_window_backspace_handler_t) - on_backspace, plugin); - ply_window_add_enter_handler (plugin->window, - (ply_window_enter_handler_t) - on_enter, plugin); ply_window_set_draw_handler (plugin->window, (ply_window_draw_handler_t) on_draw, plugin); @@ -270,9 +243,6 @@ static void remove_handlers (ply_boot_splash_plugin_t *plugin) { - ply_window_remove_keyboard_input_handler (plugin->window, (ply_window_keyboard_input_handler_t) on_keyboard_input); - ply_window_remove_backspace_handler (plugin->window, (ply_window_backspace_handler_t) on_backspace); - ply_window_remove_enter_handler (plugin->window, (ply_window_enter_handler_t) on_enter); ply_window_set_draw_handler (plugin->window, NULL, NULL); ply_window_set_erase_handler (plugin->window, NULL, NULL);