[tracker/direct-access: 67/85] libtracker-sparql: Don't return const gchar* for escape functions



commit d821b8547aedb2eec1fb3ca249d1d24924f82d78
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]