summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2022-08-04 19:43:07 +0200
committerJens Georg <mail@jensge.org>2022-08-04 20:08:25 +0200
commitc2ca6585e60b670e05fb781a332d2410c8b5ab64 (patch)
tree92b7981dd15059fa2802a7d2d2ce7cacd8974dca
parentfd3c0d4dabf5dd88d2fdb51d67cfc8acb85f1b11 (diff)
downloadgssdp-c2ca6585e60b670e05fb781a332d2410c8b5ab64.tar.gz
Fix version annotation for Client:port
Was Deprecated, should actually be Since
-rw-r--r--libgssdp/gssdp-client.c2
-rw-r--r--tests/test-regression.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index 91112b5..8a07764 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -656,7 +656,7 @@ gssdp_client_class_init (GSSDPClientClass *klass)
* network. If not set (or set to 0) a random port will be used.
* This property can be only set during object construction.
*
- * Deprecated: 1.6.0
+ * Since: 1.6.0
*/
g_object_class_install_property
(object_class,
diff --git a/tests/test-regression.c b/tests/test-regression.c
index 9501ab5..979e281 100644
--- a/tests/test-regression.c
+++ b/tests/test-regression.c
@@ -441,7 +441,7 @@ void test_ggo_7 () {
"host-ip", "127.0.0.1",
"interface", "ThisShouldNotExist",
NULL);
- g_assert_error (error, GSSDP_ERROR, GSSDP_ERROR_FAILED);
+ g_assert_error (error, GSSDP_ERROR, GSSDP_ERROR_NO_IP_ADDRESS);
g_assert_null (client);
g_clear_error (&error);