]> git.eshelyaron.com Git - emacs.git/commitdiff
(xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 28 Aug 2007 10:06:15 +0000 (10:06 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 28 Aug 2007 10:06:15 +0000 (10:06 +0000)
so no Lisp code is executed.

src/ChangeLog
src/gtkutil.c

index 5ad9ac7d84edaf8bfc7c3836b2bf06435238ecc8..d73437c7dfc7b6e086c424e3f33368b18fff7e48 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED
+       so no Lisp code is executed.
+
 2007-08-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle
index 7dc451a5d04ac9dc16a5efa1537a53348dcb71db..5ca8c8885b6a2aa45454bc55fb7a8636791d3125 100644 (file)
@@ -3615,7 +3615,7 @@ xg_tool_bar_item_expose_callback (w, event, client_data)
 }
 
 /* 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 @@ xg_tool_bar_expose_callback (w, event, client_data)
      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;
 }