diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2021-06-17 14:06:01 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2021-06-17 14:06:01 +0000 |
commit | 4d4e1e45e86c16e0edb2b8d18d93fe5e55f32751 (patch) | |
tree | a98b30d1cd1ee36764b8c21418703681f7313e7c /demos/youtube/youtube-cli.c | |
parent | b0460823bfd19fb46dee9982e221ca2eeba3bc4a (diff) | |
parent | 27c60a1d52874c3f06db8cc7e6f4b2546c2a45be (diff) | |
download | libgdata-4d4e1e45e86c16e0edb2b8d18d93fe5e55f32751.tar.gz |
Merge branch 'remove-deprecated-youtube' into 'master'
remove deprecated youtube api
See merge request GNOME/libgdata!36
Diffstat (limited to 'demos/youtube/youtube-cli.c')
-rw-r--r-- | demos/youtube/youtube-cli.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/demos/youtube/youtube-cli.c b/demos/youtube/youtube-cli.c index e3e0e3dc..35f3d6a7 100644 --- a/demos/youtube/youtube-cli.c +++ b/demos/youtube/youtube-cli.c @@ -241,22 +241,10 @@ standard_feed_type_from_name (const gchar *name, { /* Indexed by GDataYouTubeStandardFeedType. */ const gchar *feed_type_names[] = { - "top-rated", - "top-favorites", - "most-viewed", "most-popular", - "most-recent", - "most-discussed", - "most-linked", - "most-responded", - "recently-featured", - "watch-on-mobile", }; guint i; - G_STATIC_ASSERT (G_N_ELEMENTS (feed_type_names) == - GDATA_YOUTUBE_WATCH_ON_MOBILE_FEED + 1); - for (i = 0; i < G_N_ELEMENTS (feed_type_names); i++) { if (g_strcmp0 (feed_type_names[i], name) == 0) { *out = (GDataYouTubeStandardFeedType) i; |