On Sat, Oct 20, 2012 at 02:00:28PM +0200, Martin Olsson wrote: Oops almost lost this one. Thanks for the reminder, Martin. The dispatch_event comment no longer has the 'preceding' text, but the wl_display_get_error() fix is good.
Kristian > --- > src/wayland-client.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/src/wayland-client.c b/src/wayland-client.c > index 7e50b40..28fe127 100644 > --- a/src/wayland-client.c > +++ b/src/wayland-client.c > @@ -732,7 +732,7 @@ dispatch_event(struct wl_display *display, struct > wl_event_queue *queue) > > /* Verify that the receiving object is still valid and look up > * proxies for any arguments. We have to do this just before > - * calling the handler, since preceeding events may have > + * calling the handler, since preceding events may have > * destroyed either the proxy or the proxy args since the > * event was queued. */ > proxy = wl_map_lookup(&display->objects, id); > @@ -914,12 +914,12 @@ wl_display_dispatch_pending(struct wl_display *display) > return dispatch_queue(display, &display->queue, 0); > } > > -/** Retrieve the last error occured on a display > +/** Retrieve the last error occurred on a display > * > * \param display The display context object > - * \return The last error occured on \c display or 0 if no error occured > + * \return The last error occurred on \c display or 0 if no error occurred > * > - * Return the last error occured on the display. This may be an error sent > + * Return the last error occurred on the display. This may be an error sent > * by the server or caused by the local client. > * > * \note Errors are \b fatal. If this function returns non-zero the display > -- > 1.7.9.5 > > _______________________________________________ > wayland-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
