[tracker/fts4: 23/26] libtracker-data: Use g_hash_table_unref() not _destroy()
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/fts4: 23/26] libtracker-data: Use g_hash_table_unref() not _destroy()
- Date: Tue, 5 Feb 2013 16:56:01 +0000 (UTC)
commit 2dbaa013dbf197c0c299c064e0c7f614ee6c7134
Author: Martyn Russell <martyn lanedo com>
Date: Mon Feb 4 17:11:47 2013 +0000
libtracker-data: Use g_hash_table_unref() not _destroy()
src/libtracker-data/tracker-data-manager.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index efb68c1..1139efe 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3647,8 +3647,8 @@ tracker_data_manager_init_fts (TrackerDBInterface *iface,
ontology_get_fts_properties (FALSE, &fts_props, &multivalued);
tracker_db_interface_sqlite_fts_init (iface, fts_props,
multivalued, create);
- g_hash_table_destroy (fts_props);
- g_hash_table_destroy (multivalued);
+ g_hash_table_unref (fts_props);
+ g_hash_table_unref (multivalued);
#else
g_message ("FTS support is disabled");
#endif
@@ -4364,8 +4364,8 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
tracker_db_interface_sqlite_fts_alter_table (iface, fts_properties, multivalued);
}
- g_hash_table_destroy (fts_properties);
- g_hash_table_destroy (multivalued);
+ g_hash_table_unref (fts_properties);
+ g_hash_table_unref (multivalued);
#endif
/* Update the nao:lastModified in the database */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]