mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 08:23:38 +02:00
gobject: Use G_VALUE_INIT
This commit is contained in:
@@ -154,8 +154,8 @@ base_object_constructor (GType type,
|
||||
/* The constructor is the one place where a GParamSpecOverride is visible
|
||||
* to the outside world, so we do a bunch of checks here
|
||||
*/
|
||||
GValue value1 = { 0, };
|
||||
GValue value2 = { 0, };
|
||||
GValue value1 = G_VALUE_INIT;
|
||||
GValue value2 = G_VALUE_INIT;
|
||||
GParamSpec *pspec;
|
||||
|
||||
g_assert (n_construct_properties == 1);
|
||||
|
Reference in New Issue
Block a user