Changes to gtk_menu_popup
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: gtk-devel-list gnome org
- Subject: Changes to gtk_menu_popup
- Date: Mon, 4 Feb 2002 08:37:47 +0000 (GMT)
I noticed that gtk_menu_popup() changed over the weekend.
Should the following change also be made?
Index: gtkmenu.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkmenu.c,v
retrieving revision 1.88
diff -u -p -r1.88 gtkmenu.c
--- gtkmenu.c 2002/02/03 01:25:32 1.88
+++ gtkmenu.c 2002/02/04 07:57:55
@@ -727,6 +727,8 @@ gtk_menu_popup (GtkMenu *menu,
if ((current_event->type != GDK_BUTTON_PRESS) &&
(current_event->type != GDK_ENTER_NOTIFY))
menu_shell->ignore_enter = TRUE;
+
+ gdk_event_free (current_event);
}
if (menu->torn_off)
Padraig
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]