projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00c392d
)
reserve: fix build without D-Bus
author
Lennart Poettering
<lennart@poettering.net>
Tue, 30 Jun 2009 19:13:09 +0000
(21:13 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 30 Jun 2009 19:13:09 +0000
(21:13 +0200)
src/modules/reserve-wrap.c
patch
|
blob
|
history
diff --git
a/src/modules/reserve-wrap.c
b/src/modules/reserve-wrap.c
index
07b592d
..
6086fc9
100644
(file)
--- a/
src/modules/reserve-wrap.c
+++ b/
src/modules/reserve-wrap.c
@@
-336,5
+336,9
@@
pa_bool_t pa_reserve_monitor_wrapper_busy(pa_reserve_monitor_wrapper *w) {
pa_assert(PA_REFCNT_VALUE(w) >= 1);
pa_assert(PA_REFCNT_VALUE(w) >= 1);
+#ifdef HAVE_DBUS
return rm_busy(w->monitor) > 0;
return rm_busy(w->monitor) > 0;
+#else
+ return FALSE;
+#endif
}
}