summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-03-22 14:40:57 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-03-22 14:40:57 -0400
commitfbbb3d18160273235cac788d9dd553b8257a6b7b (patch)
tree18cdf2cfda92030adf0a30c4940018c2f95c8f1c
parent2a444e30f7e39370191d58935b7f36b6fd25e84a (diff)
downloadgtk+-fbbb3d18160273235cac788d9dd553b8257a6b7b.tar.gz
Fix some clang warnings
It complains about double const, and it is right.
-rw-r--r--gdk/gdkgl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
index 1d7d2d4bb9..85ce63da55 100644
--- a/gdk/gdkgl.c
+++ b/gdk/gdkgl.c
@@ -52,7 +52,8 @@ get_vertex_type_name (int type)
}
static guint
-create_shader (int type, const char const *code)
+create_shader (int type,
+ const char *code)
{
guint shader;
int status;
@@ -85,8 +86,8 @@ create_shader (int type, const char const *code)
static void
make_program (GdkGLContextProgram *program,
- const char const *vertex_shader_code,
- const char const *fragment_shader_code)
+ const char *vertex_shader_code,
+ const char *fragment_shader_code)
{
guint vertex_shader, fragment_shader;
int status;