diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2020-11-05 15:02:05 -0600 |
---|---|---|
committer | Patrick Griffis <pgriffis@igalia.com> | 2020-11-05 15:02:05 -0600 |
commit | d9bd561c341726d0128db191caba4dbacbe83c2c (patch) | |
tree | 34a4fc6a85fdfab52555929c45a6d13e0139c78c /tests/hsts-db-test.c | |
parent | fa676791ba19c9584cf13f6acabb60a615e300b2 (diff) | |
download | libsoup-pgriffis/remove-property-functions.tar.gz |
Remove properties that behave as functionspgriffis/remove-property-functions
This goes against all convention and isn't binding friendly.
Diffstat (limited to 'tests/hsts-db-test.c')
-rw-r--r-- | tests/hsts-db-test.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/hsts-db-test.c b/tests/hsts-db-test.c index 783f8fe4..f1034867 100644 --- a/tests/hsts-db-test.c +++ b/tests/hsts-db-test.c @@ -112,9 +112,8 @@ hsts_db_session_new (void) { SoupHSTSEnforcer *hsts_db = soup_hsts_enforcer_db_new (DB_FILE); - SoupSession *session = soup_test_session_new (SOUP_TYPE_SESSION, - "add-feature", hsts_db, - NULL); + SoupSession *session = soup_test_session_new (SOUP_TYPE_SESSION, NULL); + soup_session_add_feature (session, SOUP_SESSION_FEATURE (hsts_db)); g_signal_connect (session, "request-queued", G_CALLBACK (on_request_queued), NULL); g_object_unref (hsts_db); |