]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 c0e350e45f9f50c3c39a9cb2167406f5c2fd91e5..02d6ec1ae9e221f5667c9ef2420e754f4d9a6af9 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 934db0f0406ffdae8b7fb28b32bce9d31b51009a..750dad6da17894edd935972c090ecc3b541b23a3 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;