[grilo-plugins] youtube: Fix variable shadowing a parameter
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] youtube: Fix variable shadowing a parameter
- Date: Thu, 21 Jul 2011 12:07:14 +0000 (UTC)
commit c01aeed311a813bacb56daff9876125417250df0
Author: Philip Withnall <philip tecnocode co uk>
Date: Mon Jul 4 22:56:05 2011 +0100
youtube: Fix variable shadowing a parameter
src/media/youtube/grl-youtube.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/media/youtube/grl-youtube.c b/src/media/youtube/grl-youtube.c
index 5dd66aa..412edc4 100644
--- a/src/media/youtube/grl-youtube.c
+++ b/src/media/youtube/grl-youtube.c
@@ -605,9 +605,9 @@ build_media_from_entry (GrlYoutubeSource *source,
gdata_youtube_video_look_up_content (video,
"application/x-shockwave-flash");
if (youtube_content != NULL) {
- GDataMediaContent *content = GDATA_MEDIA_CONTENT (youtube_content);
- grl_media_set_external_player (media,
- gdata_media_content_get_uri (content));
+ const gchar *uri =
+ gdata_media_content_get_uri (GDATA_MEDIA_CONTENT (youtube_content));
+ grl_media_set_external_player (media, uri);
}
}
iter = g_list_next (iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]