From 51d8bd494e3c56df83250d36e66f9242accd2a41 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 19 Dec 2008 18:33:27 +0000 Subject: [PATCH] Fix the build svn path=/trunk/; revision=21915 --- ChangeLog | 7 +++++++ gtk/gtkstatusicon.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fae57fcf99..e0552617e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-12-19 Matthias Clasen + + Bug 564881 – gtkstatusicon.c: 'event' bug again + + * gtk/gtkstatusicon.c (button_callback): Fix the build. + Patch by Christian Dywan. + 2008-12-19 Cody Russell Bug 85292 – add an icon to gtkentry diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index 20a564a2df..ce369f8ef7 100644 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -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);