[rhythmbox] implement get_property_views for RBPodcastSource
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] implement get_property_views for RBPodcastSource
- Date: Mon, 1 Aug 2016 10:59:36 +0000 (UTC)
commit cea5d4d3c8c52bdc5f37303c525fc2346fa8f349
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Mar 16 20:07:36 2016 +1000
implement get_property_views for RBPodcastSource
podcast/rb-podcast-source.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/podcast/rb-podcast-source.c b/podcast/rb-podcast-source.c
index 84af528..7326617 100644
--- a/podcast/rb-podcast-source.c
+++ b/podcast/rb-podcast-source.c
@@ -1121,6 +1121,13 @@ impl_get_entry_view (RBSource *asource)
return source->priv->posts;
}
+static GList *
+impl_get_property_views (RBSource *asource)
+{
+ RBPodcastSource *source = RB_PODCAST_SOURCE (asource);
+ return g_list_append (NULL, source->priv->feeds);
+}
+
static RBSourceEOFType
impl_handle_eos (RBSource *asource)
{
@@ -1656,6 +1663,7 @@ rb_podcast_source_class_init (RBPodcastSourceClass *klass)
source_class->can_delete = (RBSourceFeatureFunc) rb_true_function;
source_class->delete_selected = impl_delete_selected;
source_class->get_entry_view = impl_get_entry_view;
+ source_class->get_property_views = impl_get_property_views;
source_class->handle_eos = impl_handle_eos;
source_class->search = impl_search;
source_class->song_properties = impl_song_properties;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]