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:
1e65d8d
)
dbus-protocol: Use pa_hashmap_remove() instead of _get().
author
Tanu Kaskinen
<tanuk@iki.fi>
Sat, 15 Aug 2009 03:13:17 +0000
(06:13 +0300)
committer
Tanu Kaskinen
<tanuk@iki.fi>
Sat, 15 Aug 2009 03:13:17 +0000
(06:13 +0300)
src/pulsecore/protocol-dbus.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/protocol-dbus.c
b/src/pulsecore/protocol-dbus.c
index
0128570
..
cf561c8
100644
(file)
--- a/
src/pulsecore/protocol-dbus.c
+++ b/
src/pulsecore/protocol-dbus.c
@@
-841,7
+841,7
@@
void pa_dbus_protocol_add_signal_listener(pa_dbus_protocol *p, DBusConnection *c
conn_entry->listening_for_all_signals = FALSE;
/* Replace the old object list with a new one. */
- if ((object_set = pa_hashmap_
get
(conn_entry->listening_signals, signal)))
+ if ((object_set = pa_hashmap_
remove
(conn_entry->listening_signals, signal)))
pa_idxset_free(object_set, free_listened_object_name_cb, NULL);
object_set = pa_idxset_new(pa_idxset_string_hash_func, pa_idxset_string_compare_func);