summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@intel.com>2012-11-22 18:09:32 -0200
committerKristian Høgsberg <krh@bitplanet.net>2012-11-23 22:51:51 -0500
commit5df752ab16f4a343416952ccbc07ab6aa0217429 (patch)
tree503bd4d22717179695f6ea5384ba55570e6aa533
parentfb205078819380538e6c0793f10ce603d7368da3 (diff)
doc: Fix typos
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
-rw-r--r--protocol/wayland.xml2
-rw-r--r--src/wayland-client.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index ca3c56f..cc8fb06 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -102,7 +102,7 @@
When a client creates a registry object, the registry object
will emit a global event for each global currently in the
- regitry. Globals come and go as a result of device hotplugs,
+ registry. Globals come and go as a result of device hotplugs,
reconfiguration or other events, and the registry will send out
@global and @global_remove events to keep the client up to date
with the changes. To mark the end of the initial burst of
diff --git a/src/wayland-client.c b/src/wayland-client.c
index 56dbb4f..5fecc01 100644
--- a/src/wayland-client.c
+++ b/src/wayland-client.c
@@ -298,11 +298,11 @@ wl_proxy_destroy(struct wl_proxy *proxy)
* \return 0 on success or -1 on failure
*
* Set proxy's listener to \c implementation and its user data to
- * \c data. Ifa listener has already been set, this functions
+ * \c data. If a listener has already been set, this function
* fails and nothing is changed.
*
* \c implementation is a vector of function pointers. For an opcode
- * \c n, \c implemention[n] should point to the handler of \c n for
+ * \c n, \c implementation[n] should point to the handler of \c n for
* the given object.
*
* \memberof wl_proxy