projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc4622
)
event: The device setter work on sub-types
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 1 Feb 2011 14:44:22 +0000
(14:44 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 1 Feb 2011 14:44:22 +0000
(14:44 +0000)
Instead of just setting the input device pointer in the private event
data, it should also set the field in the event sub-types, so that
direct access to the structures still works.
clutter/clutter-event.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-event.c
b/clutter/clutter-event.c
index
e645910
..
18992b7
100644
(file)
--- a/
clutter/clutter-event.c
+++ b/
clutter/clutter-event.c
@@
-550,8
+550,6
@@
clutter_event_set_device (ClutterEvent *event,
ClutterEventPrivate *real_event = (ClutterEventPrivate *) event;
real_event->device = device;
-
- return;
}
switch (event->type)