GTlsPassword: Make declared defaults match
authorMatthias Clasen <mclasen@redhat.com>
Mon, 23 Dec 2013 20:01:20 +0000 (15:01 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 Jan 2014 22:59:20 +0000 (17:59 -0500)
String properties typically start out with a value of NULL.
No reason to deviate from that convention here.

gio/gtlspassword.c

index 2ddeb5d..38280d9 100644 (file)
@@ -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));