[tracker/libtracker-sparql: 26/50] libtracker-sparql: Don't return const gchar* for escape functions



commit 182b7bddb2e4a04c051bf0da2138f95e6630e59e
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Jul 19 13:46:17 2010 +0100

    libtracker-sparql: Don't return const gchar* for escape functions

 src/libtracker-sparql/tracker-utils.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-utils.vala b/src/libtracker-sparql/tracker-utils.vala
index 9534fa2..de67136 100644
--- a/src/libtracker-sparql/tracker-utils.vala
+++ b/src/libtracker-sparql/tracker-utils.vala
@@ -18,10 +18,10 @@
  */
 
 // Imported from tracker-uri.c
-public extern unowned string tracker_sparql_escape_uri_vprintf (string format, va_list args);
-public extern unowned string tracker_sparql_escape_uri_printf (string format, ...);
+public extern string tracker_sparql_escape_uri_vprintf (string format, va_list args);
+public extern string tracker_sparql_escape_uri_printf (string format, ...);
 
-public unowned string tracker_sparql_escape_string (string literal) {
+public string tracker_sparql_escape_string (string literal) {
 	StringBuilder str = new StringBuilder ();
 	char *p = literal;
 



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