[glib/mcatanzaro/gtlsconnection-changes: 2/4] gtlsconnection: add	missing deprecation annotation
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [glib/mcatanzaro/gtlsconnection-changes: 2/4] gtlsconnection: add	missing deprecation annotation
- Date: Thu, 14 Nov 2019 18:08:31 +0000 (UTC)
commit d32d3f4a57421c114c36f9cfd3d5b9c001ab6f3e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Nov 14 11:46:54 2019 -0600
    gtlsconnection: add missing deprecation annotation
    
    GTlsConnection:rehandshake-mode has been deprecated since 2.60 using
    the G_PARAM_DEPRECATED flag, but I forgot to add the right annotation to
    the documentation. Oops.
    
    The associated getter/setter functions were both deprecated properly.
 gio/gtlsconnection.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gio/gtlsconnection.c b/gio/gtlsconnection.c
index 6589d4928..9e2faec80 100644
--- a/gio/gtlsconnection.c
+++ b/gio/gtlsconnection.c
@@ -195,6 +195,8 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
    * g_tls_connection_set_rehandshake_mode().
    *
    * Since: 2.28
+   *
+   * Deprecated: 2.60: The rehandshake mode is ignored.
    */
   g_object_class_install_property (gobject_class, PROP_REHANDSHAKE_MODE,
                                   g_param_spec_enum ("rehandshake-mode",
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]