The add-feature-by-type and remove-feature-by-type properties were
only accepting SoupSessionFeature types, so you couldn't use it for
things like request types, auth types, etc.
g_param_spec_gtype (SOUP_SESSION_ADD_FEATURE_BY_TYPE,
"Add Feature By Type",
"Add a feature object of the given type to the session",
- SOUP_TYPE_SESSION_FEATURE,
+ G_TYPE_OBJECT,
G_PARAM_READWRITE));
/**
* SoupSession:remove-feature-by-type: (skip)
g_param_spec_gtype (SOUP_SESSION_REMOVE_FEATURE_BY_TYPE,
"Remove Feature By Type",
"Remove features of the given type from the session",
- SOUP_TYPE_SESSION_FEATURE,
+ G_TYPE_OBJECT,
G_PARAM_READWRITE));
/**
* SoupSession:http-aliases: