Fix a couple of typos and a compiler warning in betawidget.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5840 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
e8f4edbb56
commit
34e4246bd4
|
@ -65,7 +65,7 @@ static void spacerInitVtbl(spacer *self)
|
|||
// Replace our parents vtable with our own
|
||||
WIDGET(self)->vtbl = &vtbl.widgetVtbl;
|
||||
|
||||
// Set our vtablr
|
||||
// Set our vtable
|
||||
self->vtbl = &vtbl;
|
||||
}
|
||||
|
||||
|
|
|
@ -438,7 +438,7 @@ void widgetDestroyImpl(widget *self)
|
|||
}
|
||||
|
||||
// Free the ID
|
||||
free(self->id);
|
||||
free((char *) self->id);
|
||||
|
||||
// Free ourself
|
||||
free(self);
|
||||
|
|
|
@ -41,6 +41,8 @@
|
|||
|
||||
#include "keycode.h"
|
||||
|
||||
#include "font.h"
|
||||
|
||||
/*
|
||||
* Forward declarations
|
||||
*/
|
||||
|
@ -707,7 +709,7 @@ int widgetAddEventHandler(widget *self, eventType type,
|
|||
* to add timer event handlers (EVT_TIMER_ONE_SHOT and EVT_TIMER_PERSISTENT).
|
||||
*
|
||||
* @param self The widget to add the timer event handler to.
|
||||
* @param type The tyoe of the timer to register the handler for.
|
||||
* @param type The type of the timer to register the handler for.
|
||||
* @param interval The duration in ms to wait.
|
||||
* @param handler The function to call when the event fires.
|
||||
* @param userData User specified data pointer to pass to handler.
|
||||
|
|
Loading…
Reference in New Issue