[glib/mcatanzaro/gtlsconnection-changes: 1/2] gtlsconnection: add missing G_PARAM_DEPRECATED



commit 8b9d7b1693ba5fd90730d5fbad718755a7843747
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 348038ee4..a4c6058d3 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]