[glib] GTlsPassword: Make declared defaults match



commit 290b46cd24d35d6bce7b86e05ce5948b42c45233
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 23 15:01:20 2013 -0500

    GTlsPassword: Make declared defaults match
    
    String properties typically start out with a value of NULL.
    No reason to deviate from that convention here.

 gio/gtlspassword.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gtlspassword.c b/gio/gtlspassword.c
index 2ddeb5d..38280d9 100644
--- a/gio/gtlspassword.c
+++ b/gio/gtlspassword.c
@@ -207,7 +207,7 @@ g_tls_password_class_init (GTlsPasswordClass *klass)
                                   g_param_spec_string ("description",
                                                        P_("Description"),
                                                        P_("Description of what the password is for"),
-                                                       "",
+                                                       NULL,
                                                        G_PARAM_READWRITE |
                                                        G_PARAM_STATIC_STRINGS));
 
@@ -215,7 +215,7 @@ g_tls_password_class_init (GTlsPasswordClass *klass)
                                   g_param_spec_string ("warning",
                                                        P_("Warning"),
                                                        P_("Warning about the password"),
-                                                       "",
+                                                       NULL,
                                                        G_PARAM_READWRITE |
                                                        G_PARAM_STATIC_STRINGS));
 


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