summaryrefslogtreecommitdiff
path: root/src/tidbit-dbus.c
diff options
context:
space:
mode:
authorCharlie Brej <cbrej@cs.man.ac.uk>2010-08-08 21:17:23 +0100
committerCharlie Brej <cbrej@cs.man.ac.uk>2010-08-08 21:17:23 +0100
commit2a0a4e8e810da02fb00c570c533df52397902ff2 (patch)
tree21424c9c88cec33cc1db80c661da7e9f03dc2888 /src/tidbit-dbus.c
parentfb0a503c21837e70c368c918e9837e34e2e33803 (diff)
Remove the _record at the end of insert and fetch operations
Obviously these work with records
Diffstat (limited to 'src/tidbit-dbus.c')
-rw-r--r--src/tidbit-dbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tidbit-dbus.c b/src/tidbit-dbus.c
index 7d354d4..9a43c66 100644
--- a/src/tidbit-dbus.c
+++ b/src/tidbit-dbus.c
@@ -82,7 +82,7 @@ gboolean tidbit_dbus_insert (TidbitDbus *object, gchar *record, gboolean *succes
{
TidbitDbus *tidbit_dbus = TIDBIT_DBUS (object);
PtrTidbitRecord new_record = tidbit_record_from_raw (record); //FIXME check record is ok
- tidbit_database_insert_record (tidbit_dbus->database, new_record);
+ tidbit_database_insert (tidbit_dbus->database, new_record);
tidbit_record_unref (new_record);
*success = TRUE;
return TRUE;
@@ -92,7 +92,7 @@ gboolean tidbit_dbus_fetch (TidbitDbus *object, gchar *signature, gchar **reply_
{
TidbitDbus *tidbit_dbus = TIDBIT_DBUS (object);
PtrTidbitGuid guid = tidbit_guid_new (signature);
- PtrTidbitRecord record = tidbit_database_fetch_record (tidbit_dbus->database, guid);
+ PtrTidbitRecord record = tidbit_database_fetch (tidbit_dbus->database, guid);
tidbit_guid_unref (guid);
if (record) {
*reply_record = g_strdup(record->raw);