[rhythmbox] rhythmdb: dbus interface doesn't need a reference on the db
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] rhythmdb: dbus interface doesn't need a reference on the db
- Date: Sat, 23 Apr 2011 12:14:17 +0000 (UTC)
commit db05297b2c05aea69e42bbc4c08fa00774935761
Author: Jonathan Matthew <jonathan d14n org>
Date: Sat Apr 23 22:12:20 2011 +1000
rhythmdb: dbus interface doesn't need a reference on the db
rhythmdb/rhythmdb-dbus.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rhythmdb/rhythmdb-dbus.c b/rhythmdb/rhythmdb-dbus.c
index 02b72ee..9b22dd1 100644
--- a/rhythmdb/rhythmdb-dbus.c
+++ b/rhythmdb/rhythmdb-dbus.c
@@ -223,8 +223,8 @@ rhythmdb_dbus_register (RhythmDB *db)
RHYTHMDB_OBJECT_PATH,
ifaceinfo,
&rhythmdb_interface_vtable,
- g_object_ref (db),
- (GDestroyNotify) g_object_unref,
+ db,
+ NULL,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]