Better compatible with GTK3+.