# HG changeset patch # User Jan Dj¸«£rv # Date 1051120293 0 # Node ID d0877472b39e23de70491731b2c63f8fb4f34847 # Parent 4b5928c8d5889db6f5e172df2268b1cd40578b51 * xdisp.c (update_tool_bar): BLOCK_INPUT before calling tool_bar_items so GTK tool bar expose callback does not access items being updated. diff -r 4b5928c8d588 -r d0877472b39e src/ChangeLog --- a/src/ChangeLog Wed Apr 23 14:55:19 2003 +0000 +++ b/src/ChangeLog Wed Apr 23 17:51:33 2003 +0000 @@ -1,3 +1,9 @@ +2003-04-23 Jan Dj,Ad(Brv + + * 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 * data.c (Faset): Calculate nbytes earlier, to satisfy the now diff -r 4b5928c8d588 -r d0877472b39e src/xdisp.c --- a/src/xdisp.c Wed Apr 23 14:55:19 2003 +0000 +++ b/src/xdisp.c Wed Apr 23 17:51:33 2003 +0000 @@ -8152,8 +8152,10 @@ 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)))