[tracker/direct-access: 65/158] 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/direct-access: 65/158] libtracker-sparql: Don't return const gchar* for escape functions
- Date: Thu, 5 Aug 2010 16:33:02 +0000 (UTC)
commit 83e51311c38bb14fa8063f062201a82a8375b7cf
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]