diff src/gtkutil.h @ 56846:5817080daeba

* xmenu.c (digest_single_submenu): Set lname and lkey in widget_value instead of name and key. (update_submenu_strings): New function. (set_frame_menubar): Remove call to inhibit_garbage_collection, call update_submenu_strings. Call ENCODE_MENU_STRING for top level menu names. * gtkutil.h (_widget_value): Added lname and lkey.
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 30 Aug 2004 19:42:53 +0000
parents 1218a42792ea
children 94778fc7dc76 3219f94257bc
line wrap: on
line diff
--- a/src/gtkutil.h	Mon Aug 30 19:42:20 2004 +0000
+++ b/src/gtkutil.h	Mon Aug 30 19:42:53 2004 +0000
@@ -96,10 +96,12 @@
 typedef struct _widget_value
 {
   /* name of widget */
+  Lisp_Object   lname;
   char		*name;
   /* value (meaning depend on widget type) */
   char		*value;
   /* keyboard equivalent. no implications for XtTranslations */
+  Lisp_Object   lkey;
   char		*key;
   /* Help string or nil if none.
      GC finds this string through the frame's menu_bar_vector