[tracker/libtracker-sparql: 31/56] libtracker-sparql: Don't return const gchar* for escape functions
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-sparql: 31/56] libtracker-sparql: Don't return const gchar* for escape functions
- Date: Mon, 9 Aug 2010 15:31:34 +0000 (UTC)
commit e4bd6443c867fc811713b80de362749e275d91d3
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]