Updated to use GDK sneak peek