[grilo/wip/hadess/update-docs: 5/6] core: Remove some obsolete compatibility macros



commit e6c13a2c2cb820176f78d2d4b91f132a5f57dc1b
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Feb 6 14:25:59 2019 +0100

    core: Remove some obsolete compatibility macros
    
    They were added 7 years ago in commit ca606fb1.

 src/grl-caps.h              | 3 ---
 src/grl-operation-options.h | 3 ---
 2 files changed, 6 deletions(-)
---
diff --git a/src/grl-caps.h b/src/grl-caps.h
index 87db7db..df2e939 100644
--- a/src/grl-caps.h
+++ b/src/grl-caps.h
@@ -66,9 +66,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrlCaps, g_object_unref)
 #define GRL_IS_CAPS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GRL_TYPE_CAPS))
 #define GRL_CAPS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GRL_TYPE_CAPS, GrlCapsClass))
 
-/* Keep this macro for backwards compatibility */
-#define GRL_CAPS_TYPE (GRL_TYPE_CAPS)
-
 /**
  * GrlTypeFilter:
  * @GRL_TYPE_FILTER_NONE: allow no content (only containers)
diff --git a/src/grl-operation-options.h b/src/grl-operation-options.h
index a6c3ee9..60bb10d 100644
--- a/src/grl-operation-options.h
+++ b/src/grl-operation-options.h
@@ -65,9 +65,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrlOperationOptions, g_object_unref)
 #define GRL_IS_OPERATION_OPTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GRL_TYPE_OPERATION_OPTIONS))
 #define GRL_OPERATION_OPTIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GRL_TYPE_OPERATION_OPTIONS, 
GrlOperationOptionsClass))
 
-/* Keep this macro for backwards compatibility */
-#define GRL_OPERATION_OPTIONS_TYPE (GRL_TYPE_OPERATION_OPTIONS)
-
 /**
  * GrlResolutionFlags:
  * @GRL_RESOLVE_NORMAL: Normal mode.


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