[gegl] gegl: move gegl-cache.[ch] to more proper location in tree



commit 9458b55c0262fdc16aaf4ee29330ae31276d4733
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Sep 24 17:10:22 2018 +0200

    gegl: move gegl-cache.[ch] to more proper location in tree
    
    Even if it derives from buffer, where it is used by node/the graph code, no
    code in the buffer link nor make use of this cache code.

 gegl/buffer/Makefile.am             | 2 --
 gegl/graph/Makefile.am              | 2 ++
 gegl/{buffer => graph}/gegl-cache.c | 0
 gegl/{buffer => graph}/gegl-cache.h | 0
 4 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/Makefile.am b/gegl/buffer/Makefile.am
index 175b7b4d9..11cbe68be 100644
--- a/gegl/buffer/Makefile.am
+++ b/gegl/buffer/Makefile.am
@@ -35,7 +35,6 @@ libbuffer_la_SOURCES = \
     gegl-buffer-linear.c       \
        gegl-buffer-load.c      \
     gegl-buffer-save.c         \
-    gegl-cache.c               \
     gegl-sampler.c             \
     gegl-sampler-cubic.c       \
     gegl-sampler-linear.c      \
@@ -65,7 +64,6 @@ libbuffer_la_SOURCES = \
     gegl-buffer-iterator2.h    \
     gegl-buffer-iterator-private.h     \
     gegl-buffer-types.h                \
-    gegl-cache.h               \
     gegl-sampler.h             \
     gegl-sampler-cubic.h       \
     gegl-sampler-linear.h      \
diff --git a/gegl/graph/Makefile.am b/gegl/graph/Makefile.am
index 6cc76c16c..09c6686e2 100644
--- a/gegl/graph/Makefile.am
+++ b/gegl/graph/Makefile.am
@@ -24,6 +24,7 @@ noinst_LTLIBRARIES = libgraph.la
 #libgraph_public_HEADERS = #
 
 libgraph_la_SOURCES = \
+       gegl-cache.c                    \
        gegl-connection.c               \
        gegl-node.c                     \
        gegl-pad.c                      \
@@ -32,6 +33,7 @@ libgraph_la_SOURCES = \
        gegl-visitable.c                \
        gegl-node-output-visitable.c    \
        \
+       gegl-cache.h                    \
        gegl-connection.h               \
        gegl-node.h                     \
        gegl-node-private.h             \
diff --git a/gegl/buffer/gegl-cache.c b/gegl/graph/gegl-cache.c
similarity index 100%
rename from gegl/buffer/gegl-cache.c
rename to gegl/graph/gegl-cache.c
diff --git a/gegl/buffer/gegl-cache.h b/gegl/graph/gegl-cache.h
similarity index 100%
rename from gegl/buffer/gegl-cache.h
rename to gegl/graph/gegl-cache.h


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