[grilo-plugins] apple-trailers: set/get operation data is in GrlMetadataSource
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] apple-trailers: set/get operation data is in GrlMetadataSource
- Date: Wed, 13 Apr 2011 10:19:54 +0000 (UTC)
commit 5bb0d0c53e40fdaca416d4f3bc193ec7b80d6666
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue Apr 5 07:00:08 2011 +0000
apple-trailers: set/get operation data is in GrlMetadataSource
These operations have been moved from GrlMediaSource to GrlMetadataSource.
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
src/media/apple-trailers/grl-apple-trailers.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/media/apple-trailers/grl-apple-trailers.c b/src/media/apple-trailers/grl-apple-trailers.c
index b789455..30962e0 100644
--- a/src/media/apple-trailers/grl-apple-trailers.c
+++ b/src/media/apple-trailers/grl-apple-trailers.c
@@ -574,7 +574,8 @@ grl_apple_trailers_source_browse (GrlMediaSource *source,
op_data = g_slice_new0 (OperationData);
op_data->bs = bs;
- grl_media_source_set_operation_data (source, bs->browse_id, op_data);
+ grl_metadata_source_set_operation_data (GRL_METADATA_SOURCE (source),
+ bs->browse_id, op_data);
if (at_source->priv->hd) {
read_url_async (at_source, APPLE_TRAILERS_CURRENT_HD, op_data);
@@ -599,7 +600,9 @@ grl_apple_trailers_source_cancel (GrlMediaSource *source, guint operation_id)
if (priv->wc)
grl_net_wc_flush_delayed_requests (priv->wc);
- op_data = (OperationData *) grl_media_source_get_operation_data (source, operation_id);
+ op_data =
+ (OperationData *) grl_metadata_source_get_operation_data (GRL_METADATA_SOURCE (source),
+ operation_id);
if (op_data) {
op_data->cancelled = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]