Mercurial > emacs
changeset 50674:d0877472b39e
* xdisp.c (update_tool_bar): BLOCK_INPUT before calling
tool_bar_items so GTK tool bar expose callback does not access items
being updated.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Wed, 23 Apr 2003 17:51:33 +0000 |
parents | 4b5928c8d588 |
children | 96dc22fa49d3 |
files | src/ChangeLog src/xdisp.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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
--- 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)))