[gssdp/wip/property-cleanup: 1/5] Fix version annotation for Client:port




commit c2ca6585e60b670e05fb781a332d2410c8b5ab64
Author: Jens Georg <mail jensge org>
Date:   Thu Aug 4 19:43:07 2022 +0200

    Fix version annotation for Client:port
    
    Was Deprecated, should actually be Since

 libgssdp/gssdp-client.c | 2 +-
 tests/test-regression.c | 2 +-
 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]