diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-07-16 01:24:00 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-07-16 01:24:00 +0000 |
commit | 4e6b227dbe52c61ca54df5fc0597fb190734210d (patch) | |
tree | 54bbbc631d207a4a724f3e5e66df752cbe0573a6 /src/xterm.c | |
parent | c0db3477b4b038cf220b60790cb7bd7a9eff976d (diff) | |
download | emacs-4e6b227dbe52c61ca54df5fc0597fb190734210d.tar.gz |
* xterm.c (Qx_gtk_map_stock): New var.
* gtkutil.c (update_frame_tool_bar): Use Qx_gtk_map_stock instead of
calling intern each time.
Diffstat (limited to 'src/xterm.c')
-rw-r--r-- | src/xterm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 8d9a7d3cc0b..7ec0e0268e8 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -323,6 +323,9 @@ static Lisp_Object Qlatin_1; #ifdef USE_GTK /* The name of the Emacs icon file. */ static Lisp_Object xg_default_icon_file; + +/* Used in gtkutil.c. */ +Lisp_Object Qx_gtk_map_stock; #endif /* Used in x_flush. */ @@ -10788,6 +10791,9 @@ syms_of_xterm () #ifdef USE_GTK xg_default_icon_file = build_string ("icons/hicolor/scalable/apps/emacs.svg"); staticpro (&xg_default_icon_file); + + Qx_gtk_map_stock = intern ("x-gtk-map-stock"); + staticpro (&Qx_gtk_map_stock); #endif DEFVAR_BOOL ("x-use-underline-position-properties", |