[mutter] cogl: Remove version



commit 7a91c30149aab75098d84fcc84853f697b548c90
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Thu Aug 4 20:40:49 2022 +0200

    cogl: Remove version
    
    The cogl version was unused, and not relevant, as the version and API is
    tied to the mutter API version, not the old pre fork cogl version.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>

 cogl/cogl/cogl-macros.h            |   2 -
 cogl/cogl/cogl-version.h           | 132 -------------------------------------
 cogl/cogl/cogl.h                   |   1 -
 cogl/cogl/meson.build              |   1 -
 cogl/cogl/winsys/cogl-winsys-glx.c |   1 -
 cogl/tests/conform/meson.build     |   1 -
 cogl/tests/conform/test-version.c  |  33 ----------
 7 files changed, 171 deletions(-)
---
diff --git a/cogl/cogl/cogl-macros.h b/cogl/cogl/cogl-macros.h
index 8172354d12..b81035d2c7 100644
--- a/cogl/cogl/cogl-macros.h
+++ b/cogl/cogl/cogl-macros.h
@@ -33,8 +33,6 @@
 #ifndef __COGL_MACROS_H__
 #define __COGL_MACROS_H__
 
-#include <cogl/cogl-version.h>
-
 /* These macros are used to mark deprecated functions, and thus have
  * to be exposed in a public header.
  *
diff --git a/cogl/cogl/cogl.h b/cogl/cogl/cogl.h
index dad3b93f39..dfb6c74834 100644
--- a/cogl/cogl/cogl.h
+++ b/cogl/cogl/cogl.h
@@ -67,7 +67,6 @@
 #include <cogl/cogl-pixel-format.h>
 #include <cogl/cogl-texture.h>
 #include <cogl/cogl-types.h>
-#include <cogl/cogl-version.h>
 
 /*
  * 1.x only api...
diff --git a/cogl/cogl/meson.build b/cogl/cogl/meson.build
index 0bbf58bb97..c2bb2e7d40 100644
--- a/cogl/cogl/meson.build
+++ b/cogl/cogl/meson.build
@@ -113,7 +113,6 @@ cogl_nonintrospected_headers = [
   'cogl-pixel-buffer.h',
   'cogl-macros.h',
   'cogl-fence.h',
-  'cogl-version.h',
   'cogl-gtype-private.h',
   'cogl-glib-source.h',
   'cogl-scanout.h',
diff --git a/cogl/cogl/winsys/cogl-winsys-glx.c b/cogl/cogl/winsys/cogl-winsys-glx.c
index f3230ef5d4..7a74d7feea 100644
--- a/cogl/cogl/winsys/cogl-winsys-glx.c
+++ b/cogl/cogl/winsys/cogl-winsys-glx.c
@@ -51,7 +51,6 @@
 #include "cogl-xlib-renderer.h"
 #include "cogl-util.h"
 #include "cogl-poll-private.h"
-#include "cogl-version.h"
 #include "cogl-glx.h"
 #include "driver/gl/cogl-pipeline-opengl-private.h"
 #include "winsys/cogl-onscreen-glx.h"
diff --git a/cogl/tests/conform/meson.build b/cogl/tests/conform/meson.build
index 22d2282087..708fc679dc 100644
--- a/cogl/tests/conform/meson.build
+++ b/cogl/tests/conform/meson.build
@@ -1,6 +1,5 @@
 cogl_test_conformance_sources = [
   'test-conform-main.c',
-  'test-version.c',
   'test-layer-remove.c',
   'test-alpha-test.c',
   'test-map-buffer-range.c',


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