Fix the build

svn path=/trunk/; revision=21915
This commit is contained in:
Matthias Clasen 2008-12-19 18:33:27 +00:00
parent d6ca973cab
commit 51d8bd494e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-12-19 Matthias Clasen <mclasen@redhat.com>
Bug 564881 gtkstatusicon.c: 'event' bug again
* gtk/gtkstatusicon.c (button_callback): Fix the build.
Patch by Christian Dywan.
2008-12-19 Cody Russell <bratsche@gnome.org>
Bug 85292 add an icon to gtkentry

View File

@ -642,7 +642,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);