GDBus: Take a reference to the GDBusInterfaceInfo object
authorDavid Zeuthen <davidz@redhat.com>
Wed, 30 Jun 2010 16:19:28 +0000 (12:19 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 30 Jun 2010 16:19:28 +0000 (12:19 -0400)
commit87fa3a6e75132f68edfbd457632332c52c2048ba
tree20e724a7b238ff5915929651b3561d8375beeb46
parent5ac272297584d2c1f73815e842108b6704f862a9
GDBus: Take a reference to the GDBusInterfaceInfo object

Things will still work fine if the GDBusInterfaceInfo is allocated
statically because if so the ref_count will be -1.

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusconnection.c
gio/tests/gdbus-peer.c