]> Pileus Git - ~andy/gtk/blobdiff - gtk/tests/object.c
Use G_VALUE_INIT
[~andy/gtk] / gtk / tests / object.c
index 4a38f005fee92b9d11623f27f78a55a9e3333dd8..6fda7722d73ec862d2c166f22a5e1bd06bc07a32 100644 (file)
@@ -212,7 +212,7 @@ object_test_property (GObject           *object,
   if (pspec->flags & G_PARAM_WRITABLE &&
       !(pspec->flags & (G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY)))
     {
-      GValue value = { 0, };
+      GValue value = G_VALUE_INIT;
       guint i;
       const IgnoreProperty *ignore_properties;
       /* select value to set */