[tracker/rss-enclosures] libtracker-data: Rename tracker_collation_deinit() to tracker_collation_shutdown()



commit b4a8f338df1f1f7ada1ceea13b3ec95cf63e454f
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Aug 31 18:03:28 2010 +0200

    libtracker-data: Rename tracker_collation_deinit() to tracker_collation_shutdown()

 src/libtracker-data/tracker-collation.c           |    6 +++---
 src/libtracker-data/tracker-collation.h           |   14 +++++++-------
 src/libtracker-data/tracker-db-interface-sqlite.c |    2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/libtracker-data/tracker-collation.c b/src/libtracker-data/tracker-collation.c
index 183448b..b3e112e 100644
--- a/src/libtracker-data/tracker-collation.c
+++ b/src/libtracker-data/tracker-collation.c
@@ -74,7 +74,7 @@ tracker_collation_init (void)
 }
 
 void
-tracker_collation_deinit (gpointer collator)
+tracker_collation_shutdown (gpointer collator)
 {
 	/* Nothing to do */
 }
@@ -134,7 +134,7 @@ tracker_collation_init (void)
 }
 
 void
-tracker_collation_deinit (gpointer collator)
+tracker_collation_shutdown (gpointer collator)
 {
 	if (collator)
 		ucol_close ((UCollator *)collator);
@@ -205,7 +205,7 @@ tracker_collation_init (void)
 }
 
 void
-tracker_collation_deinit (gpointer collator)
+tracker_collation_shutdown (gpointer collator)
 {
 	/* Nothing to do */
 }
diff --git a/src/libtracker-data/tracker-collation.h b/src/libtracker-data/tracker-collation.h
index 6f9ec3c..469349a 100644
--- a/src/libtracker-data/tracker-collation.h
+++ b/src/libtracker-data/tracker-collation.h
@@ -26,13 +26,13 @@ G_BEGIN_DECLS
 #error "only <libtracker-common/tracker-common.h> must be included directly."
 #endif
 
-gpointer tracker_collation_init   (void);
-void     tracker_collation_deinit (gpointer      collator);
-gint     tracker_collation_utf8   (gpointer      collator,
-                                   gint          len1,
-                                   gconstpointer str1,
-                                   gint          len2,
-                                   gconstpointer str2);
+gpointer tracker_collation_init     (void);
+void     tracker_collation_shutdown (gpointer      collator);
+gint     tracker_collation_utf8     (gpointer      collator,
+                                     gint          len1,
+                                     gconstpointer str1,
+                                     gint          len2,
+                                     gconstpointer str2);
 
 G_END_DECLS
 
diff --git a/src/libtracker-data/tracker-db-interface-sqlite.c b/src/libtracker-data/tracker-db-interface-sqlite.c
index bf08753..27153fe 100644
--- a/src/libtracker-data/tracker-db-interface-sqlite.c
+++ b/src/libtracker-data/tracker-db-interface-sqlite.c
@@ -661,7 +661,7 @@ tracker_db_interface_sqlite_finalize (GObject *object)
 
 	g_free (db_interface->filename);
 
-	tracker_collation_deinit (db_interface->collator);
+	tracker_collation_shutdown (db_interface->collator);
 
 	G_OBJECT_CLASS (tracker_db_interface_parent_class)->finalize (object);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]