From 032f16205d3fc06ecafa26382745b49985dd124b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 6 Mar 2011 14:34:54 -0800 Subject: [PATCH] * xmenu.c (menu_highlight_callback): Now static. --- src/ChangeLog | 2 ++ src/xmenu.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index c0e350e45f9..02d6ec1ae9e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-03-06 Paul Eggert + * xmenu.c (menu_highlight_callback): Now static. + * xdisp.c (produce_glyphless_glyph): Initialize lower_xoff. Add a FIXME comment, since the code still doesn't look right. (Fcurrent_bidi_paragraph_direction): Simplify slightly; this diff --git a/src/xmenu.c b/src/xmenu.c index 934db0f0406..750dad6da17 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -723,7 +723,7 @@ show_help_event (FRAME_PTR f, xt_or_gtk_widget widget, Lisp_Object help) unhighlighting. */ #ifdef USE_GTK -void +static void menu_highlight_callback (GtkWidget *widget, gpointer call_data) { xg_menu_item_cb_data *cb_data; @@ -742,7 +742,7 @@ menu_highlight_callback (GtkWidget *widget, gpointer call_data) show_help_event (cb_data->cl_data->f, widget, help); } #else -void +static void menu_highlight_callback (Widget widget, LWLIB_ID id, void *call_data) { struct frame *f; -- 2.39.5