GTK+ 1.2 key press and release events

In Xlib, when you press and hold a key you get an initial keypress event,
followed by more keypress events as the keyboard auto-repeats and when you
finaly release it you get a keyrelease event.

In gtk+ 1.2 when I press and hold a key I get a keypress event immediately
followed by a key press event. When I release the key there is no
corresponding keyrelease event..

How do I get gtk to to behave like Xlib?