Fix the build

svn path=/trunk/; revision=21752
This commit is contained in:
Matthias Clasen 2008-11-03 04:45:18 +00:00
parent cbc5d3e33d
commit fdb141c40b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-11-02 Matthias Clasen <mclasen@redhat.com>
Bug 558929 gtkstatusicon.c: 'event' is a member of the structure
* gtk/gtkstatusicon.c: Fix the build.
2008-11-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c: Make it possible to overrule the

View File

@ -517,7 +517,7 @@ button_callback (gpointer data)
{
ButtonCallbackData *bc = (ButtonCallbackData *) data;
if (event->type == GDK_BUTTON_PRESS)
if (bc->event->type == GDK_BUTTON_PRESS)
gtk_status_icon_button_press (bc->status_icon, bc->event);
else
gtk_status_icon_button_release (bc->status_icon, bc->event);