diff --git a/doc/cookbook/examples/events-mouse-scroll.c b/doc/cookbook/examples/events-mouse-scroll.c index 46dbaf1ec..b9c1c31c5 100644 --- a/doc/cookbook/examples/events-mouse-scroll.c +++ b/doc/cookbook/examples/events-mouse-scroll.c @@ -27,6 +27,9 @@ _scroll_event_cb (ClutterActor *scroll, case CLUTTER_SCROLL_DOWN: y += SCROLL_AMOUNT; break; + case CLUTTER_SCROLL_LEFT: + case CLUTTER_SCROLL_RIGHT: + break; } y = CLAMP (y,