[grilo-mediaserver2] Do not use deprecated functions
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-mediaserver2] Do not use deprecated functions
- Date: Fri, 15 Apr 2011 14:06:54 +0000 (UTC)
commit 530356e834dedff9ff9b1e46bf683bdb3dcb083b
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Fri Apr 15 14:05:39 2011 +0000
Do not use deprecated functions
src/rygel-grilo.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel-grilo.c b/src/rygel-grilo.c
index 3ecf9c5..11987b7 100644
--- a/src/rygel-grilo.c
+++ b/src/rygel-grilo.c
@@ -391,6 +391,7 @@ fill_other_properties_table (MS2Server *server,
static void
metadata_cb (GrlMediaSource *source,
+ guint operation_id,
GrlMedia *media,
gpointer user_data,
const GError *error)
@@ -472,7 +473,8 @@ browse_cb (GrlMediaSource *source,
rgdata->children = g_list_reverse (rgdata->children);
rgdata->updated = TRUE;
} else if (!rgdata->count) {
- grl_media_source_cancel (source, rgdata->operation_id);
+ grl_metadata_source_cancel (GRL_METADATA_SOURCE (source),
+ rgdata->operation_id);
}
}
@@ -516,7 +518,7 @@ get_properties_cb (MS2Server *server,
metadata_cb,
rgdata);
} else {
- metadata_cb (rgdata->source, media, rgdata, NULL);
+ metadata_cb (rgdata->source, 0, media, rgdata, NULL);
}
wait_for_result (rgdata);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]