diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-07-15 00:22:14 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-07-15 00:22:14 +0100 |
commit | 56b6d9865c124231fa333ec937b1cf7b3c6cc7ba (patch) | |
tree | f87265cdb4714a284649d7eebd908c81585eb19b | |
parent | 5ea6326b91cfc30835febe8f715fa33e96fa48a2 (diff) | |
download | totem-56b6d9865c124231fa333ec937b1cf7b3c6cc7ba.tar.gz |
main: Remove add_to_recent arg
-rw-r--r-- | src/plugins/grilo/totem-grilo.c | 6 | ||||
-rw-r--r-- | src/plugins/iplayer/iplayer.py | 2 | ||||
-rw-r--r-- | src/totem-object.c | 4 | ||||
-rw-r--r-- | src/totem-video-list.c | 2 | ||||
-rw-r--r-- | src/totem.h | 3 |
5 files changed, 6 insertions, 11 deletions
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c index 4976b4467..b59c1fa63 100644 --- a/src/plugins/grilo/totem-grilo.c +++ b/src/plugins/grilo/totem-grilo.c @@ -565,8 +565,7 @@ play (TotemGriloPlugin *self, url = grl_media_get_url (media); if (url != NULL) { totem_add_to_playlist_and_play (self->priv->totem, url, - grl_media_get_title (media), - TRUE); + grl_media_get_title (media)); return; } @@ -1234,8 +1233,7 @@ add_to_pls_cb (GtkAction *action, TotemGriloPlugin *self) { totem_add_to_playlist_and_play (self->priv->totem, grl_media_get_url (self->priv->selected_media), - grl_media_get_title (self->priv->selected_media), - TRUE); + grl_media_get_title (self->priv->selected_media)); } static void diff --git a/src/plugins/iplayer/iplayer.py b/src/plugins/iplayer/iplayer.py index 49a5f7780..d413aea13 100644 --- a/src/plugins/iplayer/iplayer.py +++ b/src/plugins/iplayer/iplayer.py @@ -115,7 +115,7 @@ class IplayerPlugin (GObject.Object, Peas.Activatable): # Add the programme to the playlist and play it title = tree_store.get_value (tree_iter, 0) - self.totem.add_to_playlist_and_play (mrl, title, True) + self.totem.add_to_playlist_and_play (mrl, title) def _populate_programme_list (self, feed, tree_store, category_iter): if self.debug: diff --git a/src/totem-object.c b/src/totem-object.c index cabfecb46..27f2df0e9 100644 --- a/src/totem-object.c +++ b/src/totem-object.c @@ -648,15 +648,13 @@ add_to_playlist_and_play_cb (TotemPlaylist *playlist, GAsyncResult *async_result * @totem: a #TotemObject * @uri: the URI to add to the playlist * @display_name: the display name of the URI - * @add_to_recent: if %TRUE, add the URI to the recent items list * * Add @uri to the playlist and play it immediately. **/ void totem_object_add_to_playlist_and_play (TotemObject *totem, const char *uri, - const char *display_name, - gboolean add_to_recent) + const char *display_name) { AddToPlaylistData *data; diff --git a/src/totem-video-list.c b/src/totem-video-list.c index fbdceeab9..fad1debc5 100644 --- a/src/totem-video-list.c +++ b/src/totem-video-list.c @@ -378,7 +378,7 @@ row_activated_cb (GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn * goto finish; if (mrl != NULL) - totem_add_to_playlist_and_play (self->priv->totem, mrl, display_name, FALSE); + totem_add_to_playlist_and_play (self->priv->totem, mrl, display_name); finish: g_free (mrl); diff --git a/src/totem.h b/src/totem.h index c0c25c3b3..782e0009e 100644 --- a/src/totem.h +++ b/src/totem.h @@ -262,8 +262,7 @@ char * totem_object_get_title_at_playlist_pos (TotemObject *totem, #define totem_add_to_playlist_and_play totem_object_add_to_playlist_and_play void totem_object_add_to_playlist_and_play (TotemObject *totem, const char *uri, - const char *display_name, - gboolean add_to_recent); + const char *display_name); #define totem_get_current_mrl totem_object_get_current_mrl char * totem_object_get_current_mrl (TotemObject *totem); #define totem_set_current_subtitle totem_object_set_current_subtitle |