changeset 82223:c6692abac164

(xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 31 Jul 2007 16:28:24 +0000
parents c17afaa92484
children bda0322e3767
files src/ChangeLog src/gtkutil.c
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Jul 31 15:23:27 2007 +0000
+++ b/src/ChangeLog	Tue Jul 31 16:28:24 2007 +0000
@@ -1,3 +1,7 @@
+2007-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* gtkutil.c (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT.
+
 2007-07-30  Katsumi Yamaoka  <yamaoka@jpl.org>
 
 	* puresize.h (BASE_PURESIZE): Increase to 1130000.
--- a/src/gtkutil.c	Tue Jul 31 15:23:27 2007 +0000
+++ b/src/gtkutil.c	Tue Jul 31 16:28:24 2007 +0000
@@ -3374,11 +3374,6 @@
   XSETFRAME (frame, f);
   event.kind = TOOL_BAR_EVENT;
   event.frame_or_window = frame;
-  event.arg = frame;
-  kbd_buffer_store_event (&event);
-
-  event.kind = TOOL_BAR_EVENT;
-  event.frame_or_window = frame;
   event.arg = key;
   /* Convert between the modifier bits GDK uses and the modifier bits
      Emacs uses.  This assumes GDK an X masks are the same, which they are when