summaryrefslogtreecommitdiff
path: root/tests/hsts-test.c
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2020-10-27 16:42:58 -0500
committerCarlos Garcia Campos <carlosgc@gnome.org>2020-10-28 07:50:40 +0000
commit533e53b211f03c2bb8e249fd7d7aba9c53ba3ee1 (patch)
tree92b308b9ef22dca5a9891fe91dac7eb57365a246 /tests/hsts-test.c
parent1114202b8bfc34c85b64b47d06daef8b7389f18b (diff)
downloadlibsoup-533e53b211f03c2bb8e249fd7d7aba9c53ba3ee1.tar.gz
Remove property aliases
This was an oddity of libsoup that no other GObject library does. The downsides are mostly that tooling doesn't expect it so its easy to not document them or not define them and developers don't expect them so they don't realize the defines are just property names or search codebases for one but miss the other. It just doesn't follow convention.
Diffstat (limited to 'tests/hsts-test.c')
-rw-r--r--tests/hsts-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hsts-test.c b/tests/hsts-test.c
index 9bb36edf..2a87293b 100644
--- a/tests/hsts-test.c
+++ b/tests/hsts-test.c
@@ -160,11 +160,11 @@ hsts_session_new (SoupHSTSEnforcer *enforcer)
if (enforcer)
session = soup_test_session_new (SOUP_TYPE_SESSION,
- SOUP_SESSION_ADD_FEATURE, enforcer,
+ "add-feature", enforcer,
NULL);
else
session = soup_test_session_new (SOUP_TYPE_SESSION,
- SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_HSTS_ENFORCER,
+ "add-feature-by-type", SOUP_TYPE_HSTS_ENFORCER,
NULL);
g_signal_connect (session, "request-queued", G_CALLBACK (on_request_queued), NULL);