[totem] grilo: Update for add_to_playlist() API change
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] grilo: Update for add_to_playlist() API change
- Date: Thu, 23 Jan 2014 12:17:36 +0000 (UTC)
commit 0c3bcc22fdbaf31c5c4c048cad6761dfa2ef5fc9
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jan 23 12:27:49 2014 +0100
grilo: Update for add_to_playlist() API change
src/plugins/grilo/totem-grilo.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index 1ef2c71..c3d6b1d 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -594,8 +594,9 @@ play (TotemGriloPlugin *self,
url = grl_media_get_url (media);
if (url != NULL) {
totem_object_clear_playlist (self->priv->totem);
- totem_object_add_to_playlist_and_play (self->priv->totem, url,
- grl_media_get_title (media));
+ totem_object_add_to_playlist (self->priv->totem, url,
+ grl_media_get_title (media),
+ TRUE);
return;
}
@@ -1741,9 +1742,10 @@ static void
add_to_pls_cb (GtkAction *action, TotemGriloPlugin *self)
{
totem_object_clear_playlist (self->priv->totem);
- totem_object_add_to_playlist_and_play (self->priv->totem,
- grl_media_get_url (self->priv->selected_media),
- grl_media_get_title (self->priv->selected_media));
+ totem_object_add_to_playlist (self->priv->totem,
+ grl_media_get_url (self->priv->selected_media),
+ grl_media_get_title (self->priv->selected_media),
+ TRUE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]