aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2003-04-23 17:51:33 +0000
committerJan Djärv2003-04-23 17:51:33 +0000
commite3b2c21fc734645ad0cc37e708be33cff22c68b5 (patch)
tree476bbd5809370140be76e8a17121adc5e9475ba5 /src
parentf0a478be88cad174421ca47145b5de110e28adec (diff)
downloademacs-e3b2c21fc734645ad0cc37e708be33cff22c68b5.tar.gz
emacs-e3b2c21fc734645ad0cc37e708be33cff22c68b5.zip
* xdisp.c (update_tool_bar): BLOCK_INPUT before calling
tool_bar_items so GTK tool bar expose callback does not access items being updated.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b395f560ffe..3992e51cf27 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12003-04-23 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * xdisp.c (update_tool_bar): BLOCK_INPUT before calling
4 tool_bar_items so GTK tool bar expose callback does not access items
5 being updated.
6
12003-04-18 Miles Bader <miles@gnu.org> 72003-04-18 Miles Bader <miles@gnu.org>
2 8
3 * data.c (Faset): Calculate nbytes earlier, to satisfy the now 9 * data.c (Faset): Calculate nbytes earlier, to satisfy the now
diff --git a/src/xdisp.c b/src/xdisp.c
index 940db9ced31..7c9a52cbba7 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -8152,8 +8152,10 @@ update_tool_bar (f, save_match_data)
8152 GCPRO1 (old_tool_bar); 8152 GCPRO1 (old_tool_bar);
8153 8153
8154 /* Build desired tool-bar items from keymaps. */ 8154 /* Build desired tool-bar items from keymaps. */
8155 BLOCK_INPUT;
8155 f->tool_bar_items 8156 f->tool_bar_items
8156 = tool_bar_items (f->tool_bar_items, &f->n_tool_bar_items); 8157 = tool_bar_items (f->tool_bar_items, &f->n_tool_bar_items);
8158 UNBLOCK_INPUT;
8157 8159
8158 /* Redisplay the tool-bar if we changed it. */ 8160 /* Redisplay the tool-bar if we changed it. */
8159 if (! NILP (Fequal (old_tool_bar, f->tool_bar_items))) 8161 if (! NILP (Fequal (old_tool_bar, f->tool_bar_items)))