[tracker/extraction-improvements: 7/9] libtracker-extract: Do not use G_CONST_RETURN
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/extraction-improvements: 7/9] libtracker-extract: Do not use G_CONST_RETURN
- Date: Fri, 24 Jun 2011 13:17:15 +0000 (UTC)
commit 2b69d57527dcce20b8a91aa4f2ba08e9e21a4038
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Jun 21 17:42:57 2011 +0200
libtracker-extract: Do not use G_CONST_RETURN
just use const, G_CONST_RETURN doesn't exist in modern glib
src/libtracker-extract/tracker-extract-client.c | 6 +++---
src/libtracker-extract/tracker-extract-client.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-extract-client.c b/src/libtracker-extract/tracker-extract-client.c
index 6361e78..9acdfbc 100644
--- a/src/libtracker-extract/tracker-extract-client.c
+++ b/src/libtracker-extract/tracker-extract-client.c
@@ -423,7 +423,7 @@ tracker_extract_client_get_metadata_finish (GFile *file,
* Returns: (transfer none): the clauses to be inserted
* before update.
**/
-G_CONST_RETURN gchar *
+const gchar *
tracker_extract_info_get_preupdate (TrackerExtractInfo *info)
{
return info->preupdate;
@@ -438,7 +438,7 @@ tracker_extract_info_get_preupdate (TrackerExtractInfo *info)
* Returns: (transfer none): Sparql to be inserted into
* the file update.
**/
-G_CONST_RETURN gchar *
+const gchar *
tracker_extract_info_get_update (TrackerExtractInfo *info)
{
return info->update;
@@ -452,7 +452,7 @@ tracker_extract_info_get_update (TrackerExtractInfo *info)
*
* Returns: (transfer none): the where clause.
**/
-G_CONST_RETURN gchar *
+const gchar *
tracker_extract_info_get_where_clause (TrackerExtractInfo *info)
{
return info->where;
diff --git a/src/libtracker-extract/tracker-extract-client.h b/src/libtracker-extract/tracker-extract-client.h
index 63b07dc..f3637eb 100644
--- a/src/libtracker-extract/tracker-extract-client.h
+++ b/src/libtracker-extract/tracker-extract-client.h
@@ -42,9 +42,9 @@ TrackerExtractInfo * tracker_extract_client_get_metadata_finish (GFile
void tracker_extract_client_cancel_for_prefix (GFile *uri);
-G_CONST_RETURN gchar * tracker_extract_info_get_preupdate (TrackerExtractInfo *info);
-G_CONST_RETURN gchar * tracker_extract_info_get_update (TrackerExtractInfo *info);
-G_CONST_RETURN gchar * tracker_extract_info_get_where_clause (TrackerExtractInfo *info);
+const gchar * tracker_extract_info_get_preupdate (TrackerExtractInfo *info);
+const gchar * tracker_extract_info_get_update (TrackerExtractInfo *info);
+const gchar * tracker_extract_info_get_where_clause (TrackerExtractInfo *info);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]