[glib/mcatanzaro/gtlsconnection-changes: 9/10] gtlsconnection: add missing G_PARAM_DEPRECATED



commit 8f88783a7fb05ef7df386761daa45da526eac717
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Nov 14 11:42:18 2019 -0600

    gtlsconnection: add missing G_PARAM_DEPRECATED
    
    The use-system-certdb function has been deprecated since 2.30 and is
    just missing the deprecation flag to warn developers.

 gio/gtlsconnection.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/gtlsconnection.c b/gio/gtlsconnection.c
index 995de6d64..e4ea38081 100644
--- a/gio/gtlsconnection.c
+++ b/gio/gtlsconnection.c
@@ -139,7 +139,8 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
                                                         TRUE,
                                                         G_PARAM_READWRITE |
                                                         G_PARAM_CONSTRUCT |
-                                                        G_PARAM_STATIC_STRINGS));
+                                                        G_PARAM_STATIC_STRINGS |
+                                                        G_PARAM_DEPRECATED));
   /**
    * GTlsConnection:database:
    *


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