summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2015-04-25 17:29:04 +0200
committerBastien Nocera <hadess@hadess.net>2015-07-17 15:27:01 +0200
commit7ff6dd9a7ed55dff4083fa1f46657c2f96090b71 (patch)
treeb6d645eb439605229cf3d7c28cbacc5efb9fcd73
parentf046b208417912c4d62d3600e4b0d074318e0422 (diff)
downloadgrilo-7ff6dd9a7ed55dff4083fa1f46657c2f96090b71.tar.gz
tests: Make C tests run again
GrlMediaPlugin is now GrlSource. https://bugzilla.gnome.org/show_bug.cgi?id=748455
-rw-r--r--tests/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/registry.c b/tests/registry.c
index 484a8c5..79aca90 100644
--- a/tests/registry.c
+++ b/tests/registry.c
@@ -102,7 +102,7 @@ registry_unregister (RegistryFixture *fixture, gconstpointer data)
for (sources_iter = sources, i = 0; sources_iter;
sources_iter = g_list_next (sources_iter), i++) {
- GrlMediaPlugin *source = GRL_MEDIA_PLUGIN (sources_iter->data);
+ GrlSource *source = GRL_SOURCE (sources_iter->data);
grl_registry_unregister_source (fixture->registry, source, NULL);
}