projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7424c81
)
screenshooter: remove useless cast
author
Derek Foreman
<derekf@osg.samsung.com>
Mon, 2 Feb 2015 19:03:23 +0000
(13:03 -0600)
committer
Bryce Harrington
<bryce@osg.samsung.com>
Mon, 2 Feb 2015 22:58:46 +0000
(14:58 -0800)
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
src/screenshooter.c
patch
|
blob
|
history
diff --git
a/src/screenshooter.c
b/src/screenshooter.c
index
c98e2f9
..
4e32db5
100644
(file)
--- a/
src/screenshooter.c
+++ b/
src/screenshooter.c
@@
-558,8
+558,7
@@
weston_recorder_destroy(struct weston_recorder *recorder)
static void
recorder_binding(struct weston_seat *seat, uint32_t time, uint32_t key, void *data)
{
- struct weston_seat *ws = (struct weston_seat *) seat;
- struct weston_compositor *ec = ws->compositor;
+ struct weston_compositor *ec = seat->compositor;
struct weston_output *output;
struct wl_listener *listener = NULL;
struct weston_recorder *recorder;