On Mon, Aug 05, 2013 at 01:50:50PM +0100, Stefan Schmidt wrote: > listenter -> listener. Better fix it now before it spreads further.
Heh, oops, that might have been in there for a while. Thanks for fixing it. Kristian > Signed-off-by: Stefan Schmidt <[email protected]> > --- > clients/simple-shm.c | 4 ++-- > clients/simple-touch.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/clients/simple-shm.c b/clients/simple-shm.c > index f187b10..98102eb 100644 > --- a/clients/simple-shm.c > +++ b/clients/simple-shm.c > @@ -294,7 +294,7 @@ shm_format(void *data, struct wl_shm *wl_shm, uint32_t > format) > d->formats |= (1 << format); > } > > -struct wl_shm_listener shm_listenter = { > +struct wl_shm_listener shm_listener = { > shm_format > }; > > @@ -314,7 +314,7 @@ registry_handle_global(void *data, struct wl_registry > *registry, > } else if (strcmp(interface, "wl_shm") == 0) { > d->shm = wl_registry_bind(registry, > id, &wl_shm_interface, 1); > - wl_shm_add_listener(d->shm, &shm_listenter, d); > + wl_shm_add_listener(d->shm, &shm_listener, d); > } > } > > diff --git a/clients/simple-touch.c b/clients/simple-touch.c > index 534c77c..9e4c60a 100644 > --- a/clients/simple-touch.c > +++ b/clients/simple-touch.c > @@ -95,7 +95,7 @@ shm_format(void *data, struct wl_shm *wl_shm, uint32_t > format) > touch->has_argb = 1; > } > > -struct wl_shm_listener shm_listenter = { > +struct wl_shm_listener shm_listener = { > shm_format > }; > > @@ -257,7 +257,7 @@ handle_global(void *data, struct wl_registry *registry, > } else if (strcmp(interface, "wl_shm") == 0) { > touch->shm = wl_registry_bind(registry, name, > &wl_shm_interface, 1); > - wl_shm_add_listener(touch->shm, &shm_listenter, touch); > + wl_shm_add_listener(touch->shm, &shm_listener, touch); > } else if (strcmp(interface, "wl_seat") == 0) { > touch->seat = wl_registry_bind(registry, name, > &wl_seat_interface, 1); > -- > 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
