[grilo-plugins] vimeo: have encode_uri take a const argument
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] vimeo: have encode_uri take a const argument
- Date: Thu, 24 Feb 2011 15:49:57 +0000 (UTC)
commit 4e304c79ed544b180fac1e9f7fc4fd9417319fb0
Author: Guillaume Emont <gemont igalia com>
Date: Thu Feb 24 15:38:39 2011 +0100
vimeo: have encode_uri take a const argument
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, "%!*'();:@&=+$,/?#[] ");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]