Adapt to GTK2.