summaryrefslogtreecommitdiff
path: root/src/tidbit-dbus.c
diff options
context:
space:
mode:
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);