diff --git a/ChangeLog b/ChangeLog index 9470634f9..d044ce458 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-09-10 Matthew Allum + + Port from stable branch. + + * clutter/eglnative/clutter-event-egl.c: (clutter_event_dispatch): + Only declare tsevent if we have tslib (#498, Robert Bragg) + 2007-09-06 Emmanuele Bassi * clutter/clutter-stage.c: Remove stray include diff --git a/clutter/eglnative/clutter-event-egl.c b/clutter/eglnative/clutter-event-egl.c index b1d7d58b9..1f15caee2 100644 --- a/clutter/eglnative/clutter-event-egl.c +++ b/clutter/eglnative/clutter-event-egl.c @@ -187,7 +187,9 @@ clutter_event_dispatch (GSource *source, ClutterBackend *backend = ((ClutterEventSource *) source)->backend; ClutterEventSource *event_source = (ClutterEventSource *) source; ClutterEvent *event; +#ifdef HAVE_TSLIB struct ts_sample tsevent; +#endif ClutterMainContext *clutter_context; static gint last_x, last_y;