mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32: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>
|
2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* tests/test-scale.c: Improve test case for scaling (#684,
|
* tests/test-scale.c: Improve test case for scaling (#684,
|
||||||
|
@ -231,8 +231,7 @@ clutter_event_osx_translate (NSEvent *nsevent, ClutterEvent *event)
|
|||||||
void
|
void
|
||||||
_clutter_event_osx_put (NSEvent *nsevent)
|
_clutter_event_osx_put (NSEvent *nsevent)
|
||||||
{
|
{
|
||||||
ClutterEvent event;
|
ClutterEvent event = { 0, };
|
||||||
event.type = CLUTTER_NOTHING;
|
|
||||||
|
|
||||||
if (clutter_event_osx_translate (nsevent, &event))
|
if (clutter_event_osx_translate (nsevent, &event))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user