protocol: Fix build
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 31 Jan 2014 21:29:37 +0000 (16:29 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 31 Jan 2014 21:35:07 +0000 (13:35 -0800)
"data" is the name of the void* argument in the implementation.
While we probably shouldn't use such an easily-collidable name,
just rename the callback's argument to callback_data for now.

protocol/wayland.xml

index 26e0d5c..bf6acd1 100644 (file)
@@ -46,7 +46,7 @@
        compositor after the callback is fired and as such the client must not
        attempt to use it after that point.
 
-       The data passed in the callback is the event serial.
+       The callback_data passed in the callback is the event serial.
       </description>
       <arg name="callback" type="new_id" interface="wl_callback"/>
     </request>
       <description summary="done event">
        Notify the client when the related request is done.
       </description>
-      <arg name="data" type="uint" summary="request-specific data for the wl_callback"/>
+      <arg name="callback_data" type="uint" summary="request-specific data for the wl_callback"/>
     </event>
   </interface>
 
        compositor after the callback is fired and as such the client must not
        attempt to use it after that point.
 
-       The data passed in the callback is the current time, in milliseconds.
+       The callback_data passed in the callback is the current time, in
+       milliseconds.
       </description>
 
       <arg name="callback" type="new_id" interface="wl_callback"/>