adding support for gdk

Added support for the new GDK preview released. It should port easily to the final release.