[PATCH 1/4] eventdemo: fix incorrect comments

Philipp Brüschweiler blei42 at gmail.com
Tue Aug 14 02:02:39 PDT 2012


---
 clients/eventdemo.c | 8 ++++----
 1 Datei geändert, 4 Zeilen hinzugefügt(+), 4 Zeilen entfernt(-)

diff --git a/clients/eventdemo.c b/clients/eventdemo.c
index 22dade3..5556a75 100644
--- a/clients/eventdemo.c
+++ b/clients/eventdemo.c
@@ -90,7 +90,7 @@ struct eventdemo {
 
 /**
  * \brief CALLBACK function, Wayland requests the window to redraw.
- * \param window window to be redrawn
+ * \param widget widget to be redrawn
  * \param data user data associated to the window
  *
  * Draws a red rectangle as demonstration of per-window data.
@@ -126,7 +126,7 @@ redraw_handler(struct widget *widget, void *data)
 
 /**
  * \brief CALLBACK function, Wayland requests the window to resize.
- * \param window window to be resized
+ * \param widget widget to be resized
  * \param width desired width
  * \param height desired height
  * \param data user data associated to the window
@@ -205,7 +205,7 @@ key_handler(struct window *window, struct input *input, uint32_t time,
 
 /**
  * \brief CALLBACK function, Wayland informs about button event
- * \param window window
+ * \param widget widget
  * \param input input device that caused the button event
  * \param time time the event happend
  * \param button button
@@ -231,7 +231,7 @@ button_handler(struct widget *widget, struct input *input, uint32_t time,
 
 /**
  * \brief CALLBACK function, Waylands informs about pointer motion
- * \param window window
+ * \param widget widget
  * \param input input device that caused the motion event
  * \param time time the event happend
  * \param x absolute x position
-- 
1.7.11.4



More information about the wayland-devel mailing list