[totem/wip/hadess/trim-plugin-decl: 3/10] open-directory: Simplify plugin declaration




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

    open-directory: Simplify plugin declaration

 src/plugins/open-directory/totem-open-directory.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/plugins/open-directory/totem-open-directory.c 
b/src/plugins/open-directory/totem-open-directory.c
index cc8bd4f25..0171ab3d6 100644
--- a/src/plugins/open-directory/totem-open-directory.c
+++ b/src/plugins/open-directory/totem-open-directory.c
@@ -29,10 +29,6 @@
 
 #define TOTEM_TYPE_OPEN_DIRECTORY_PLUGIN               (totem_open_directory_plugin_get_type ())
 #define TOTEM_OPEN_DIRECTORY_PLUGIN(o)                 (G_TYPE_CHECK_INSTANCE_CAST ((o), 
TOTEM_TYPE_OPEN_DIRECTORY_PLUGIN, TotemOpenDirectoryPlugin))
-#define TOTEM_OPEN_DIRECTORY_PLUGIN_CLASS(k)           (G_TYPE_CHECK_CLASS_CAST((k), 
TOTEM_TYPE_OPEN_DIRECTORY_PLUGIN, TotemOpenDirectoryPluginClass))
-#define TOTEM_IS_OPEN_DIRECTORY_PLUGIN(o)              (G_TYPE_CHECK_INSTANCE_TYPE ((o), 
TOTEM_TYPE_OPEN_DIRECTORY_PLUGIN))
-#define TOTEM_IS_OPEN_DIRECTORY_PLUGIN_CLASS(k)                (G_TYPE_CHECK_CLASS_TYPE ((k), 
TOTEM_TYPE_OPEN_DIRECTORY_PLUGIN))
-#define TOTEM_OPEN_DIRECTORY_PLUGIN_GET_CLASS(o)       (G_TYPE_INSTANCE_GET_CLASS ((o), 
TOTEM_TYPE_OPEN_DIRECTORY_PLUGIN, TotemOpenDirectoryPluginClass))
 
 typedef struct {
        TotemObject *totem;


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