[cogl/wip/cogl-gst] gst: Don't install cogl-gst-shader.h



commit 7596dc97acc93b9af3f97c30dab775f2a7c99fcd
Author: Neil Roberts <neil linux intel com>
Date:   Fri Mar 1 11:42:05 2013 +0000

    gst: Don't install cogl-gst-shader.h
    
    cogl-gst-shader.h shouldn't be installed because it only contains
    private symbols. This renames it to cogl-gst-shader-private.h and puts
    it in the private section.

 cogl-gst/Makefile.am                               |    4 ++--
 ...cogl-gst-shader.h => cogl-gst-shader-private.h} |    0
 cogl-gst/cogl-gst-shader.c                         |    2 +-
 cogl-gst/cogl-gst-video-sink.c                     |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/cogl-gst/Makefile.am b/cogl-gst/Makefile.am
index d2afa93..aae90da 100644
--- a/cogl-gst/Makefile.am
+++ b/cogl-gst/Makefile.am
@@ -14,11 +14,11 @@ source_c = \
 
 source_h = \
        cogl-gst.h \
-       cogl-gst-shader.h \
        cogl-gst-video-sink.h \
        $(NULL)
 
 source_h_priv = \
+       cogl-gst-shader-private.h \
        $(NULL)
 
 lib_LTLIBRARIES = libcogl-gst.la
@@ -49,7 +49,7 @@ cogl_gstheaders_HEADERS = $(source_h)
 plugin_source_c =                              \
   $(srcdir)/cogl-gst.h \
   $(srcdir)/cogl-gst-shader.c \
-  $(srcdir)/cogl-gst-shader.h \
+  $(srcdir)/cogl-gst-shader-private.h \
        $(srcdir)/cogl-gst-video-sink.c \
        $(srcdir)/cogl-gst-video-sink.h \
        $(NULL)
diff --git a/cogl-gst/cogl-gst-shader.h b/cogl-gst/cogl-gst-shader-private.h
similarity index 100%
rename from cogl-gst/cogl-gst-shader.h
rename to cogl-gst/cogl-gst-shader-private.h
diff --git a/cogl-gst/cogl-gst-shader.c b/cogl-gst/cogl-gst-shader.c
index 652b3a8..bd765bc 100644
--- a/cogl-gst/cogl-gst-shader.c
+++ b/cogl-gst/cogl-gst-shader.c
@@ -34,7 +34,7 @@
 #include "config.h"
 #endif
 
-#include "cogl-gst-shader.h"
+#include "cogl-gst-shader-private.h"
 
 const char
 _cogl_gst_shader_rgba_to_rgba_decl[] =
diff --git a/cogl-gst/cogl-gst-video-sink.c b/cogl-gst/cogl-gst-video-sink.c
index 52ce311..c929f3b 100644
--- a/cogl-gst/cogl-gst-video-sink.c
+++ b/cogl-gst/cogl-gst-video-sink.c
@@ -43,7 +43,7 @@
 #include <string.h>
 
 #include "cogl-gst-video-sink.h"
-#include "cogl-gst-shader.h"
+#include "cogl-gst-shader-private.h"
 
 #define COGL_GST_TEXTURE_FLAGS \
        (COGL_TEXTURE_NO_SLICING | COGL_TEXTURE_NO_ATLAS)


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