Fixup source comment in wayland-util.h and fix typo in TODO

This commit is contained in:
Martin Olsson 2012-07-09 18:22:05 +02:00 committed by Kristian Høgsberg
parent fc0c2e04c5
commit dba322c1c0
2 changed files with 3 additions and 3 deletions

2
TODO
View File

@ -19,7 +19,7 @@ Core wayland protocol
bigger atomic change. To be researched a bit.
- Maybe try to make remote wayland actually happen, to see if there
is something in the protocol/architecute that makes it harder than
is something in the protocol/architecture that makes it harder than
it should be.
- Add timestamp to touch_cancel, add touch id to touch_cancel (?)

View File

@ -77,7 +77,7 @@ struct wl_object {
* empty in O(1), use wl_list_empty().
*
* Let's call the list reference "struct wl_list foo_list", the item type as
* "item_t", and the item member as "struct wl_list link". The following code
* "item_t", and the item member as "struct wl_list link".
*
* The following code will initialize a list:
*
@ -92,7 +92,7 @@ struct wl_object {
* wl_list_init(&foo_list);
* wl_list_insert(&foo_list, &item1.link); Pushes item1 at the head
* wl_list_insert(&foo_list, &item2.link); Pushes item2 at the head
* wl_list_insert(&item2.link, &item3.link);Pushes item3 after item2
* wl_list_insert(&item2.link, &item3.link); Pushes item3 after item2
*
* The list now looks like [item2, item3, item1]
*