Updated for SWE-GLib 2.0 API