summaryrefslogtreecommitdiff
path: root/libsoup/hsts/soup-hsts-enforcer-db.c
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2020-10-27 16:42:58 -0500
committerPatrick Griffis <pgriffis@igalia.com>2020-10-27 17:04:47 -0500
commit8c8b20ba864217f2829ad27943ae94efa411fbcd (patch)
tree9c617abb42442c1fa9a0a342480487871816ed22 /libsoup/hsts/soup-hsts-enforcer-db.c
parent4bae534464f29f72273360ddbc249f3a7422add0 (diff)
downloadlibsoup-8c8b20ba864217f2829ad27943ae94efa411fbcd.tar.gz
Remove property aliasespgriffis/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 'libsoup/hsts/soup-hsts-enforcer-db.c')
-rw-r--r--libsoup/hsts/soup-hsts-enforcer-db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/hsts/soup-hsts-enforcer-db.c b/libsoup/hsts/soup-hsts-enforcer-db.c
index fd1a6997..d6024452 100644
--- a/libsoup/hsts/soup-hsts-enforcer-db.c
+++ b/libsoup/hsts/soup-hsts-enforcer-db.c
@@ -120,7 +120,7 @@ soup_hsts_enforcer_db_new (const char *filename)
g_return_val_if_fail (filename != NULL, NULL);
return g_object_new (SOUP_TYPE_HSTS_ENFORCER_DB,
- SOUP_HSTS_ENFORCER_DB_FILENAME, filename,
+ "filename", filename,
NULL);
}
@@ -332,7 +332,7 @@ soup_hsts_enforcer_db_class_init (SoupHSTSEnforcerDBClass *db_class)
**/
g_object_class_install_property (
object_class, PROP_FILENAME,
- g_param_spec_string (SOUP_HSTS_ENFORCER_DB_FILENAME,
+ g_param_spec_string ("filename",
"Filename",
"HSTS policy storage filename",
NULL,