summaryrefslogtreecommitdiff
path: root/src/gtkutil.h
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2004-08-30 19:42:53 +0000
committerJan Djärv <jan.h.d@swipnet.se>2004-08-30 19:42:53 +0000
commit2bf436c3bb916cc9368dafeb54d1cab0196e15cf (patch)
tree0ecfb1033a442438cac0651d5a6d1f84e38933f8 /src/gtkutil.h
parent05bdae441ba3e9ffe5d71ac877955ae7dc20429f (diff)
downloademacs-2bf436c3bb916cc9368dafeb54d1cab0196e15cf.tar.gz
* 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.
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r--src/gtkutil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h
index b31ec8c2a1f..b35ab94b2cb 100644
--- a/src/gtkutil.h
+++ b/src/gtkutil.h
@@ -96,10 +96,12 @@ typedef struct xg_menu_item_cb_data_
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