Commit 059cd329 authored by Jan Djärv's avatar Jan Djärv
Browse files

* xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection

from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used.
parent 5500be54
2004-08-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
 
* xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection
from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used.
* gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when
tool bar items is 0.
 
......
......@@ -1930,6 +1930,7 @@ set_frame_menubar (f, first_time, deep_p)
FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f));
items = FRAME_MENU_BAR_ITEMS (f);
inhibit_garbage_collection ();
/* Save the frame's previous menu bar contents data. */
if (previous_menu_items_used)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment