projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gobject: Use G_VALUE_INIT
[platform/upstream/glib.git]
/
gobject
/
gvaluetypes.c
diff --git
a/gobject/gvaluetypes.c
b/gobject/gvaluetypes.c
index
c2850d1
..
3afb300
100644
(file)
--- a/
gobject/gvaluetypes.c
+++ b/
gobject/gvaluetypes.c
@@
-1355,7
+1355,7
@@
g_strdup_value_contents (const GValue *value)
}
else if (g_value_type_transformable (G_VALUE_TYPE (value), G_TYPE_STRING))
{
- GValue tmp_value =
{ 0, }
;
+ GValue tmp_value =
G_VALUE_INIT
;
gchar *s;
g_value_init (&tmp_value, G_TYPE_STRING);