From c8d7a27438b294e20ca0f8f6f1dd74d4a273dc96 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 12 May 2022 13:08:26 +0000 Subject: [PATCH] Remove unused RIF method * src/haikuterm.c (haiku_update_window_end): Delete function. (haiku_redisplay_interface): Remove RIF method. --- src/haikuterm.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/haikuterm.c b/src/haikuterm.c index b74584e2dca..49121629b3b 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -2926,13 +2926,6 @@ haiku_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) FRAME_OUTPUT_DATA (f)->current_cursor = cursor; } -static void -haiku_update_window_end (struct window *w, bool cursor_on_p, - bool mouse_face_overwritten_p) -{ - -} - static void haiku_default_font_parameter (struct frame *f, Lisp_Object parms) { @@ -3001,8 +2994,8 @@ static struct redisplay_interface haiku_redisplay_interface = gui_clear_end_of_line, haiku_scroll_run, haiku_after_update_window_line, - NULL, - haiku_update_window_end, + NULL, /* update_window_begin */ + NULL, /* update_window_end */ haiku_flush, gui_clear_window_mouse_face, gui_get_glyph_overhangs, @@ -3018,7 +3011,7 @@ static struct redisplay_interface haiku_redisplay_interface = haiku_draw_window_cursor, haiku_draw_vertical_window_border, haiku_draw_window_divider, - 0, /* shift glyphs for insert */ + NULL, /* shift glyphs for insert */ haiku_show_hourglass, haiku_hide_hourglass, haiku_default_font_parameter, -- 2.39.2