[grilo-plugins] youtube: replace deprecated gdata_youtube_video_get_video_id
- From: Victor Toso de Carvalho <victortoso src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] youtube: replace deprecated gdata_youtube_video_get_video_id
- Date: Mon, 5 Sep 2016 14:16:51 +0000 (UTC)
commit 8d91159f3cd43ec7b9a6f0632bf6a6a99afaa7ca
Author: Victor Toso <me victortoso com>
Date: Sat Sep 3 15:00:43 2016 +0200
youtube: replace deprecated gdata_youtube_video_get_video_id
grl-youtube.c:507:5: warning: ‘gdata_youtube_video_get_video_id’ is
deprecated: Use gdata_entry_get_id instead [-Wdeprecated-declarations]
grl_media_set_id (media, gdata_youtube_video_get_video_id (video));
^~~~~~~~~~~~~~~~
https://bugzilla.gnome.org/show_bug.cgi?id=770806
src/youtube/grl-youtube.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/youtube/grl-youtube.c b/src/youtube/grl-youtube.c
index 5844b63..c835208 100644
--- a/src/youtube/grl-youtube.c
+++ b/src/youtube/grl-youtube.c
@@ -504,7 +504,7 @@ build_media_from_entry (GrlYoutubeSource *source,
/* Make sure we set the media id in any case */
if (!grl_media_get_id (media)) {
- grl_media_set_id (media, gdata_youtube_video_get_video_id (video));
+ grl_media_set_id (media, gdata_entry_get_id (entry));
}
iter = (GList *) keys;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]