[tracker/libtracker-extract-fixes] libtracker-extract: Small bugfixes and improvements



commit 4c38f0ed3063202417bdf93a5a4a4b9ab9fe2501
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Apr 13 18:11:20 2010 +0200

    libtracker-extract: Small bugfixes and improvements

 src/libtracker-extract/tracker-utils.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-utils.c b/src/libtracker-extract/tracker-utils.c
index 8a08c54..9b7c453 100644
--- a/src/libtracker-extract/tracker-utils.c
+++ b/src/libtracker-extract/tracker-utils.c
@@ -69,7 +69,7 @@ static const char imonths[] = {
  * Returns: the first string pointer from those provided which
  * matches, otherwise %NULL.
  *
- * Since: 0.8.2
+ * Since: 0.9
  **/
 const gchar *
 tracker_coalesce_strip (gint n_values,
@@ -87,6 +87,7 @@ tracker_coalesce_strip (gint n_values,
 		value = va_arg (args, gchar *);
 		if (!result && !tracker_is_blank_string (value)) {
 			result = (const gchar *) g_strstrip (value);
+			break;
 		}
 	}
 
@@ -156,7 +157,7 @@ tracker_coalesce (gint n_values,
  * Returns: a newly-allocated string holding the result which should
  * be freed with g_free() when finished with, otherwise %NULL.
  *
- * Since: 0.8.2
+ * Since: 0.9
  **/
 gchar *
 tracker_merge_const (const gchar *delimiter, 



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