diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2020-10-27 16:42:58 -0500 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2020-10-28 07:50:40 +0000 |
commit | 533e53b211f03c2bb8e249fd7d7aba9c53ba3ee1 (patch) | |
tree | 92b308b9ef22dca5a9891fe91dac7eb57365a246 /libsoup/soup-message-io.c | |
parent | 1114202b8bfc34c85b64b47d06daef8b7389f18b (diff) | |
download | libsoup-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 'libsoup/soup-message-io.c')
-rw-r--r-- | libsoup/soup-message-io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/soup-message-io.c b/libsoup/soup-message-io.c index 9387aafd..667176cb 100644 --- a/libsoup/soup-message-io.c +++ b/libsoup/soup-message-io.c @@ -489,8 +489,8 @@ parse_headers (SoupMessage *msg, return SOUP_STATUS_MALFORMED; } - g_object_notify (G_OBJECT (msg), SOUP_MESSAGE_STATUS_CODE); - g_object_notify (G_OBJECT (msg), SOUP_MESSAGE_REASON_PHRASE); + g_object_notify (G_OBJECT (msg), "status-code"); + g_object_notify (G_OBJECT (msg), "reason-phrase"); if (version < soup_message_get_http_version (msg)) soup_message_set_http_version (msg, version); |