Moved to Gtk 3.12 and copy function