[PATCH] protocol: fix an extra underscore

Jonas Kulla nyocurio at gmail.com
Sat Sep 14 08:48:32 PDT 2013


2013/9/15 Chang Liu <cl91tp at gmail.com>

> remove the unnecessary extra underscore in the name of the argument of
> wl_shell_surface::set_class
> ---
> The identifier class_ only appears in the generated code, in function
> declarations. Changing it shouldn't cause any backward incompatibilities.
>
>  protocol/wayland.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/protocol/wayland.xml b/protocol/wayland.xml
> index aeb0412..28caf61 100644
> --- a/protocol/wayland.xml
> +++ b/protocol/wayland.xml
> @@ -913,7 +913,7 @@
>         file name (or the full path if it is a non-standard location) of
>         the application's .desktop file as the class.
>        </description>
> -      <arg name="class_" type="string"/>
> +      <arg name="class" type="string"/>
>      </request>
>
>      <event name="ping">
> --
> 1.8.3.4
>

Hi,

I don't understand how this would not clash with the C++ keyword.

Thanks,
Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130914/d5b2d862/attachment.html>


More information about the wayland-devel mailing list