[bijiben] shellSearchProvider fix two warnings for const string
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] shellSearchProvider fix two warnings for const string
- Date: Tue, 1 Jan 2013 23:24:05 +0000 (UTC)
commit 721dbe398cf1fd3fbaf914f16faba53f4b028c90
Author: Pierre-Yves Luyten <py luyten fr>
Date: Wed Jan 2 00:23:21 2013 +0100
shellSearchProvider fix two warnings for const string
src/bijiben-shell-search-provider.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/bijiben-shell-search-provider.c b/src/bijiben-shell-search-provider.c
index 263cfb1..c78d2ae 100644
--- a/src/bijiben-shell-search-provider.c
+++ b/src/bijiben-shell-search-provider.c
@@ -206,7 +206,8 @@ add_single_note_meta (BijibenShellSearchProviderApp *self,
GVariantBuilder *results)
{
GVariantBuilder note;
- gchar *query, *result;
+ gchar *query;
+ const gchar *result;
TrackerSparqlCursor *cursor;
/* the WHERE nie:url query has a single result : the note which we're providing metadata */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]