projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3a37e40
)
GTlsPassword: Make declared defaults match
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 23 Dec 2013 20:01:20 +0000
(15:01 -0500)
committer
Matthias 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
patch
|
blob
|
history
diff --git
a/gio/gtlspassword.c
b/gio/gtlspassword.c
index
2ddeb5d
..
38280d9
100644
(file)
--- 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));