projects
/
platform
/
core
/
appfw
/
app-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug about setting rotation callback
[platform/core/appfw/app-core.git]
/
src
/
appcore-rotation.c
diff --git
a/src/appcore-rotation.c
b/src/appcore-rotation.c
index
e4227cb
..
5d90526
100644
(file)
--- a/
src/appcore-rotation.c
+++ b/
src/appcore-rotation.c
@@
-128,7
+128,7
@@
static void __changed_cb(sensor_t sensor, unsigned int event_type,
if (rot.callback) {
if (rot.cb_set && rot.mode != m) {
_DBG("[APP %d] Rotation: %d -> %d", getpid(), rot.mode, m);
- rot.callback((void *)&m, m, data);
+ rot.callback((void *)&m, m,
user_
data);
rot.mode = m;
}
}