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/server-auth-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/server-auth-test.c')
-rw-r--r-- | tests/server-auth-test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/server-auth-test.c b/tests/server-auth-test.c index f6da2b05..0d57c88c 100644 --- a/tests/server-auth-test.c +++ b/tests/server-auth-test.c @@ -346,21 +346,21 @@ main (int argc, char **argv) auth_domain = soup_auth_domain_basic_new ( "realm", "server-auth-test", - "add-path", "/Basic", - "add-path", "/Any", - "remove-path", "/Any/Not", "auth-callback", basic_auth_callback, NULL); + soup_auth_domain_add_path (auth_domain, "/Basic"); + soup_auth_domain_add_path (auth_domain, "/Any"); + soup_auth_domain_remove_path (auth_domain, "/Any/Not"); soup_server_add_auth_domain (server, auth_domain); g_object_unref (auth_domain); auth_domain = soup_auth_domain_digest_new ( "realm", "server-auth-test", - "add-path", "/Digest", - "add-path", "/Any", - "remove-path", "/Any/Not", "auth-callback", digest_auth_callback, NULL); + soup_auth_domain_add_path (auth_domain, "/Digest"); + soup_auth_domain_add_path (auth_domain, "/Any"); + soup_auth_domain_remove_path (auth_domain, "/Any/Not"); soup_server_add_auth_domain (server, auth_domain); g_object_unref (auth_domain); |