2006-01-27 Robert McQueen <robot101@debian.org>
authorRobert McQueen <robot101@debian.org>
Fri, 27 Jan 2006 15:40:36 +0000 (15:40 +0000)
committerRobert McQueen <robot101@debian.org>
Fri, 27 Jan 2006 15:40:36 +0000 (15:40 +0000)
commit8e00b10d134e4fb844cdc961e5c3230edf194b57
tree916ef4ae22231cf4cd6d320fc23a97137ac2a2d6
parentce13b5dff7208beade01ac06235c263872201c80
2006-01-27  Robert McQueen  <robot101@debian.org>

* glib/dbus-gtype-specialized.[ch], glib/dbus-gvalue-utils.c: Patch
by me and Rob Taylor to add a simple_free function to D-Bus map
and collection types, which allows those types which can be freed
with a GDestroyNotify (such as GHashTables and GArrays, but not
GPtrArrays) to be stored as the values in hashtables.

* test/glib/test-dbus-glib.c, test/glib/test-service-glib.{c,xml}:
Patch by Rob Taylor to add nested dicts to the glib tests to check
the above code works, and appears not to leak when called repeatedly.
ChangeLog
glib/dbus-gtype-specialized.c
glib/dbus-gtype-specialized.h
glib/dbus-gvalue-utils.c
test/glib/test-dbus-glib.c
test/glib/test-service-glib.c
test/glib/test-service-glib.xml