[PATCH 1/3] 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, "%!*'();:@&=+$,/?#[] ");
 }
-- 
1.7.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]