[glib/mcatanzaro/gtlsconnection-changes: 5/6] gtlsconnection: add missing G_PARAM_DEPRECATED



commit 4fea1af4a375b96579f5af5f0f0688aea37ec538
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 9b3c2f855..2223994c3 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]