fix up refcount/properties test case
authorRyan Lortie <desrt@desrt.ca>
Mon, 23 Sep 2013 21:04:53 +0000 (17:04 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 23 Sep 2013 21:07:33 +0000 (17:07 -0400)
commit9da87f597cb81965f697c09a71e7d1dada010561
tree85698dbb5043acacf3ea3bf5f9c708d2e627dff1
parent748c86e45f976639657284a40834484c1724732a
fix up refcount/properties test case

Recent changes to the properties testcase made invalid use of the GArray
free function.  This free function takes a pointer to the item to be
freed, not the item itself.  Since that item was a pointer to a GObject,
g_object_unref() was getting a GObject**, rather than a GObject*.

The use of GArray in this testcase is pretty questionable in the first
place, so just use C arrays instead.
tests/refcount/properties.c