tool_bar_items so GTK tool bar expose callback does not access items
being updated.
+2003-04-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xdisp.c (update_tool_bar): BLOCK_INPUT before calling
+ tool_bar_items so GTK tool bar expose callback does not access items
+ being updated.
+
2003-04-18 Miles Bader <miles@gnu.org>
* data.c (Faset): Calculate nbytes earlier, to satisfy the now
GCPRO1 (old_tool_bar);
/* Build desired tool-bar items from keymaps. */
+ BLOCK_INPUT;
f->tool_bar_items
= tool_bar_items (f->tool_bar_items, &f->n_tool_bar_items);
+ UNBLOCK_INPUT;
/* Redisplay the tool-bar if we changed it. */
if (! NILP (Fequal (old_tool_bar, f->tool_bar_items)))