summaryrefslogtreecommitdiff
path: root/tests/lua-factory
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2015-12-15 16:44:30 +0000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2015-12-16 13:55:39 +0100
commitd5e8910f1c10c6df784f1d89146c94790bca029f (patch)
treeaecd4d3e4c5403b41478dcf6f6d009567c2cee1a /tests/lua-factory
parent6253377b3060287be90d5588f0eb4204dff57d2e (diff)
all: merge {audio,video,image,box} in GrlMedia
All GrlMediaFoo types have been merged in GrlMedia. https://bugzilla.gnome.org/show_bug.cgi?id=755551
Diffstat (limited to 'tests/lua-factory')
-rw-r--r--tests/lua-factory/sources/test_lua_metrolyrics.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lua-factory/sources/test_lua_metrolyrics.c b/tests/lua-factory/sources/test_lua_metrolyrics.c
index 6414323..b6ee330 100644
--- a/tests/lua-factory/sources/test_lua_metrolyrics.c
+++ b/tests/lua-factory/sources/test_lua_metrolyrics.c
@@ -38,14 +38,14 @@ get_lyrics (GrlSource *source,
const gchar *title)
{
GList *keys;
- GrlMediaAudio *audio;
+ GrlMedia *audio;
GrlOperationOptions *options;
GError *error = NULL;
gchar *lyrics;
- audio = GRL_MEDIA_AUDIO (grl_media_audio_new ());
- grl_media_audio_set_artist (audio, artist);
- grl_media_set_title (GRL_MEDIA (audio), title);
+ audio = grl_media_audio_new ();
+ grl_media_set_artist (audio, artist);
+ grl_media_set_title (audio, title);
keys = grl_metadata_key_list_new (GRL_METADATA_KEY_LYRICS, NULL);
options = grl_operation_options_new (NULL);
@@ -58,7 +58,7 @@ get_lyrics (GrlSource *source,
&error);
g_assert_no_error (error);
- lyrics = g_strdup (grl_media_audio_get_lyrics (audio));
+ lyrics = g_strdup (grl_media_get_lyrics (audio));
g_list_free (keys);
g_object_unref (options);