summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-09-16 20:54:51 +0100
committerColin Guthrie <cguthrie@mandriva.org>2009-09-18 00:22:01 +0100
commit94d20a59faacb3c690227602ab5d097ea3999d24 (patch)
treef8d0511a5af4f27b85b1306f45c64389c2883c0b /src
parent7b76ea378460bf3e037dff90742f88f74ee70b11 (diff)
raop: Use pa_module_unload_request_by_index as per module-zeroconf-discover
Diffstat (limited to 'src')
-rw-r--r--src/modules/raop/module-raop-discover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/raop/module-raop-discover.c b/src/modules/raop/module-raop-discover.c
index eaeb77fc..adba8e4f 100644
--- a/src/modules/raop/module-raop-discover.c
+++ b/src/modules/raop/module-raop-discover.c
@@ -265,7 +265,7 @@ static void browser_cb(
struct tunnel *t2;
if ((t2 = pa_hashmap_get(u->tunnels, t))) {
- pa_module_unload_by_index(u->core, t2->module_index, TRUE);
+ pa_module_unload_request_by_index(u->core, t2->module_index, TRUE);
pa_hashmap_remove(u->tunnels, t2);
tunnel_free(t2);
}
@@ -386,7 +386,7 @@ void pa__done(pa_module*m) {
struct tunnel *t;
while ((t = pa_hashmap_steal_first(u->tunnels))) {
- pa_module_unload_by_index(u->core, t->module_index, TRUE);
+ pa_module_unload_request_by_index(u->core, t->module_index, TRUE);
tunnel_free(t);
}