[totem/wip/hadess/trim-plugin-decl: 11/16] rotation: Simplify plugin declaration




commit 2e1a08c3c7e727e1286bec5c9af183b349aa09e4
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 3 14:09:55 2021 +0100

    rotation: Simplify plugin declaration

 src/plugins/rotation/totem-rotation.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/plugins/rotation/totem-rotation.c b/src/plugins/rotation/totem-rotation.c
index 183fcd475..199986a34 100644
--- a/src/plugins/rotation/totem-rotation.c
+++ b/src/plugins/rotation/totem-rotation.c
@@ -38,10 +38,6 @@
 
 #define TOTEM_TYPE_ROTATION_PLUGIN             (totem_rotation_plugin_get_type ())
 #define TOTEM_ROTATION_PLUGIN(o)               (G_TYPE_CHECK_INSTANCE_CAST ((o), TOTEM_TYPE_ROTATION_PLUGIN, 
TotemRotationPlugin))
-#define TOTEM_ROTATION_PLUGIN_CLASS(k)         (G_TYPE_CHECK_CLASS_CAST((k), TOTEM_TYPE_ROTATION_PLUGIN, 
TotemRotationPluginClass))
-#define TOTEM_IS_ROTATION_PLUGIN(o)            (G_TYPE_CHECK_INSTANCE_TYPE ((o), TOTEM_TYPE_ROTATION_PLUGIN))
-#define TOTEM_IS_ROTATION_PLUGIN_CLASS(k)      (G_TYPE_CHECK_CLASS_TYPE ((k), TOTEM_TYPE_ROTATION_PLUGIN))
-#define TOTEM_ROTATION_PLUGIN_GET_CLASS(o)     (G_TYPE_INSTANCE_GET_CLASS ((o), TOTEM_TYPE_ROTATION_PLUGIN, 
TotemRotationPluginClass))
 
 #define GIO_ROTATION_FILE_ATTRIBUTE "metadata::totem::rotation"
 #define STATE_COUNT 4


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