mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
2008-01-14 Tommi Komulainen <tommi.komulainen@iki.fi>
reviewed by: Emmanuele Bassi <ebassi@openedhand.com> * clutter/osx/clutter-event-osx.c (_clutter_event_osx_put): Initialize ClutterEvent structure with zeroes (#672) The 'source' member was uninitialized and being referenced in clutter_do_event leading to crash.
This commit is contained in:
parent
71127caa65
commit
756ea6693f
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2008-01-14 Tommi Komulainen <tommi.komulainen@iki.fi>
|
||||
|
||||
reviewed by: Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/osx/clutter-event-osx.c (_clutter_event_osx_put):
|
||||
Initialize ClutterEvent structure with zeroes (#672)
|
||||
|
||||
The 'source' member was uninitialized and being referenced in
|
||||
clutter_do_event leading to crash.
|
||||
|
||||
2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* tests/test-scale.c: Improve test case for scaling (#684,
|
||||
|
@ -231,8 +231,7 @@ clutter_event_osx_translate (NSEvent *nsevent, ClutterEvent *event)
|
||||
void
|
||||
_clutter_event_osx_put (NSEvent *nsevent)
|
||||
{
|
||||
ClutterEvent event;
|
||||
event.type = CLUTTER_NOTHING;
|
||||
ClutterEvent event = { 0, };
|
||||
|
||||
if (clutter_event_osx_translate (nsevent, &event))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user