Mercurial > emacs
changeset 78690:4eb8619e3abd
(xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED
so no Lisp code is executed.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Tue, 28 Aug 2007 10:05:38 +0000 |
parents | 06737af330c9 |
children | 4db1f55ac4d4 |
files | src/gtkutil.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkutil.c Tue Aug 28 02:51:09 2007 +0000 +++ b/src/gtkutil.c Tue Aug 28 10:05:38 2007 +0000 @@ -3615,7 +3615,7 @@ } /* This callback is called when a tool bar shall be redrawn. - We need to update the tool bar from here in case the image cache + We need to update the images in case the image cache has deleted the pixmaps used in the tool bar. W is the GtkToolbar to be redrawn. EVENT is the expose event for W. @@ -3629,7 +3629,8 @@ GdkEventExpose *event; gpointer client_data; { - update_frame_tool_bar ((FRAME_PTR) client_data); + FRAME_PTR f = (FRAME_PTR) client_data; + SET_FRAME_GARBAGED (f); return FALSE; }