+2001-10-22 Padraig O'Briain <padraig.obriain@sun.com>
+
+ * atk/atkobject.c (atk_object_notify_state_change):
+ Initialize AtkPropertyValue data structure to 0 instead of using
+ memset.
+
2001-10-19 Tor Lillqvist <tml@iki.fi>
* configure.in: Set automake conditionals OS_WIN32 if on (native)
atk_object_notify (GObject *obj,
GParamSpec *pspec)
{
- AtkPropertyValues values;
+ AtkPropertyValues values = { 0, };
- memset (&values.old_value, 0, sizeof (GValue));
- memset (&values.new_value, 0, sizeof (GValue));
g_value_init (&values.new_value, pspec->value_type);
g_object_get_property(obj, pspec->name, &values.new_value);
values.property_name = pspec->name;