Fix g_type_class_unref argument