Use a wrapper method rather than a GTK free function.