[gtk: 53/72] gl renderer: Fix private function name




commit 07fb33c0336cae88bccddbde4143ed498c80355d
Author: Timm Bäder <mail baedert org>
Date:   Sat Oct 10 20:20:38 2020 +0200

    gl renderer: Fix private function name
    
    It's a GskGLRenderer, not a GskGLRender

 gsk/gl/gskglrenderer.c        | 6 +++---
 gsk/gl/gskglrendererprivate.h | 6 +++---
 gsk/gskglshader.c             | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 48f5d03232..fb742a18a9 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1167,9 +1167,9 @@ compile_glshader (GskGLRenderer  *self,
 }
 
 gboolean
-gsk_gl_render_try_compile_gl_shader (GskGLRenderer    *self,
-                                     GskGLShader      *shader,
-                                     GError          **error)
+gsk_gl_renderer_try_compile_gl_shader (GskGLRenderer  *self,
+                                       GskGLShader    *shader,
+                                       GError        **error)
 {
   Program *program;
 
diff --git a/gsk/gl/gskglrendererprivate.h b/gsk/gl/gskglrendererprivate.h
index 917aecb2e8..924ee18ca3 100644
--- a/gsk/gl/gskglrendererprivate.h
+++ b/gsk/gl/gskglrendererprivate.h
@@ -5,9 +5,9 @@
 
 G_BEGIN_DECLS
 
-gboolean gsk_gl_render_try_compile_gl_shader (GskGLRenderer    *self,
-                                              GskGLShader      *shader,
-                                              GError          **error);
+gboolean gsk_gl_renderer_try_compile_gl_shader (GskGLRenderer    *self,
+                                                GskGLShader      *shader,
+                                                GError          **error);
 
 G_END_DECLS
 
diff --git a/gsk/gskglshader.c b/gsk/gskglshader.c
index b0482514fb..f8450c9870 100644
--- a/gsk/gskglshader.c
+++ b/gsk/gskglshader.c
@@ -542,8 +542,8 @@ gsk_gl_shader_compile (GskGLShader  *shader,
   g_return_val_if_fail (GSK_IS_GL_SHADER (shader), FALSE);
 
   if (GSK_IS_GL_RENDERER (renderer))
-    return gsk_gl_render_try_compile_gl_shader (GSK_GL_RENDERER (renderer),
-                                                shader, error);
+    return gsk_gl_renderer_try_compile_gl_shader (GSK_GL_RENDERER (renderer),
+                                                  shader, error);
 
   g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
                "The renderer does not support gl shaders");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]