* evas/lib/canvas/evas_async_events.c: Use memset instead of PACKED.

SVN revision: 39003
This commit is contained in:
Cedric BAIL 2009-02-12 17:05:17 +00:00
parent c1af94ee4c
commit 630e5f1558
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@ struct _Evas_Event_Async
void *event_info;
void (*func)(void *target, Evas_Callback_Type type, void *event_info);
Evas_Callback_Type type;
} __PACKED__ ;
};
#endif
@ -135,6 +135,8 @@ evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_i
if (!func) return 0;
if (_fd_write == -1) return 0;
memset(&new, 0, sizeof (new));
new.func = func;
new.target = target;
new.type = type;