projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cddb70
)
event-loop: fix returning the destroy-signal listener
author
David Herrmann
<dh.herrmann@googlemail.com>
Wed, 23 Jan 2013 13:11:19 +0000
(14:11 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 25 Jan 2013 01:22:00 +0000
(20:22 -0500)
We need to actually return the destroy-listener, otherwise the return
value is undefined.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/event-loop.c
patch
|
blob
|
history
diff --git
a/src/event-loop.c
b/src/event-loop.c
index
25e8f9c
..
e556cc7
100644
(file)
--- a/
src/event-loop.c
+++ b/
src/event-loop.c
@@
-447,6
+447,6
@@
WL_EXPORT struct wl_listener *
wl_event_loop_get_destroy_listener(struct wl_event_loop *loop,
wl_notify_func_t notify)
{
- wl_signal_get(&loop->destroy_signal, notify);
+
return
wl_signal_get(&loop->destroy_signal, notify);
}