replace the deprecated GDK symbols