[PATCH 1/3] vimeo: have encode_uri take a const argument
- From: Guillaume Emont <gemont igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 1/3] vimeo: have encode_uri take a const argument
- Date: Thu, 24 Feb 2011 15:38:39 +0100
---
src/vimeo/gvimeo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/vimeo/gvimeo.c b/src/vimeo/gvimeo.c
index 0149775..1a39ca8 100644
--- a/src/vimeo/gvimeo.c
+++ b/src/vimeo/gvimeo.c
@@ -409,7 +409,7 @@ get_video_play_url_complete_cb (SoupSession *session,
}
static gchar *
-encode_uri (gchar *uri)
+encode_uri (const gchar *uri)
{
return soup_uri_encode (uri, "%!*'();:@&=+$,/?#[] ");
}
--
1.7.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]