7204N/ASolaris. While the C compiler has no problem this, gobject-introspection
7204N/Afreaks out, resulting in errors of:
7204N/A unexpected typedef-name, expecting ')' or ',' in
7204N/A 'void shell_glsl_quad_add_glsl_snippet (ShellGLSLQuad *quad,' at 'quad'
7204N/A unexpected typedef-name, expecting ')' or ',' in
7204N/A 'int shell_glsl_quad_get_uniform_location (ShellGLSLQuad *quad,' at 'quad'
7204N/A unexpected typedef-name, expecting ')' or ',' in
7204N/A 'void shell_glsl_quad_set_uniform_float (ShellGLSLQuad *quad,' at 'quad'
7204N/Abreaking calls to them from the Javascript files elsewhere in gnome-shell.
7204N/ANeed to consult with upstream on best way to fix there.
7204N/A GType shell_glsl_quad_get_type (void) G_GNUC_CONST;
7204N/A-void shell_glsl_quad_add_glsl_snippet (ShellGLSLQuad *quad,
7204N/A+void shell_glsl_quad_add_glsl_snippet (ShellGLSLQuad *gquad,
7204N/A-int shell_glsl_quad_get_uniform_location (ShellGLSLQuad *quad,
7204N/A+int shell_glsl_quad_get_uniform_location (ShellGLSLQuad *gquad,
7204N/A-void shell_glsl_quad_set_uniform_float (ShellGLSLQuad *quad,
7204N/A+void shell_glsl_quad_set_uniform_float (ShellGLSLQuad *gquad,
7204N/A * shell_glsl_quad_add_glsl_snippet:
7204N/A+ * @gquad: a #ShellGLSLQuad
7204N/A * @hook: where to insert the code
7204N/A * @declarations: GLSL declarations
7204N/A-shell_glsl_quad_add_glsl_snippet (ShellGLSLQuad *quad,
7204N/A+shell_glsl_quad_add_glsl_snippet (ShellGLSLQuad *gquad,
7204N/A- ShellGLSLQuadClass *klass = SHELL_GLSL_QUAD_GET_CLASS (quad);
7204N/A+ ShellGLSLQuadClass *klass = SHELL_GLSL_QUAD_GET_CLASS (gquad);
7204N/A g_return_if_fail (klass->base_pipeline != NULL);
7204N/A * shell_glsl_quad_get_uniform_location:
7204N/A+ * @gquad: a #ShellGLSLQuad
7204N/A * Returns: the location of the uniform named @name, that can be
7204N/A * passed to shell_glsl_quad_set_uniform_float().
7204N/A-shell_glsl_quad_get_uniform_location (ShellGLSLQuad *quad,
7204N/A+shell_glsl_quad_get_uniform_location (ShellGLSLQuad *gquad,
7204N/A- return cogl_pipeline_get_uniform_location (quad->priv->pipeline, name);
7204N/A+ return cogl_pipeline_get_uniform_location (gquad->priv->pipeline, name);
7204N/A * shell_glsl_quad_set_uniform_float:
7204N/A+ * @gquad: a #ShellGLSLQuad
7204N/A * @uniform: the uniform location (as returned by shell_glsl_quad_get_uniform_location())
7204N/A * @n_components: the number of components in the uniform (eg. 3 for a vec3)
7204N/A * @total_count: the total number of floats in @value
7204N/A * @value: (array length=total_count): the array of floats to set @uniform
7204N/A-shell_glsl_quad_set_uniform_float (ShellGLSLQuad *quad,
7204N/A+shell_glsl_quad_set_uniform_float (ShellGLSLQuad *gquad,
7204N/A- cogl_pipeline_set_uniform_float (quad->priv->pipeline, uniform,
7204N/A+ cogl_pipeline_set_uniform_float (gquad->priv->pipeline, uniform,
7204N/A n_components, total_count / n_components,