* xmenu.c (menu_highlight_callback): Now static.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Mar 2011 22:34:54 +0000 (14:34 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Mar 2011 22:34:54 +0000 (14:34 -0800)
src/ChangeLog
src/xmenu.c

index c0e350e..02d6ec1 100644 (file)
@@ -1,5 +1,7 @@
 2011-03-06  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * 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
index 934db0f..750dad6 100644 (file)
@@ -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;