[babl] babl: tidying of public headers



commit e1372df4177487b13c224ab8554cd18dd98cb56d
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Sep 25 12:56:17 2017 +0200

    babl: tidying of public headers

 babl/babl-macros.h |    2 +-
 babl/babl-types.h  |    2 +-
 babl/babl.h        |   11 -----------
 3 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/babl/babl-macros.h b/babl/babl-macros.h
index f022d9f..61d372b 100644
--- a/babl/babl-macros.h
+++ b/babl/babl-macros.h
@@ -20,7 +20,7 @@
 #define _BABL_MACROS_H
 
 #if !defined(BABL_INSIDE_BABL_H) && !defined(BABL_IS_BEING_COMPILED)
-#error "babl-version.h must not be included directly, include babl.h instead."
+#error "babl-macros.h must not be included directly, include babl.h instead."
 #endif
 
 
diff --git a/babl/babl-types.h b/babl/babl-types.h
index c1c4c27..3df81e7 100644
--- a/babl/babl-types.h
+++ b/babl/babl-types.h
@@ -20,7 +20,7 @@
 #define _BABL_TYPES_H
 
 #if !defined(BABL_INSIDE_BABL_H) && !defined(BABL_IS_BEING_COMPILED)
-#error "babl-version.h must not be included directly, include babl.h instead."
+#error "babl-types.h must not be included directly, include babl.h instead."
 #endif
 
 /**
diff --git a/babl/babl.h b/babl/babl.h
index 9ab3881..16574cf 100644
--- a/babl/babl.h
+++ b/babl/babl.h
@@ -448,17 +448,6 @@ void   babl_set_user_data     (const Babl *babl, void *data);
 void * babl_get_user_data     (const Babl *babl);
 
 
-
-/*
- * Backwards compatibility stuff
- *
- * NOTE: will most likely be removed in the first stable release!
- */
-#ifndef BABL_DISABLE_DEPRECATED
-#define babl_destroy babl_exit
-#endif
-
-
 #ifdef __cplusplus
 }
 #endif


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