[totem/wip/hadess/trim-plugin-decl: 8/12] screensaver: Simplify plugin declaration




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

    screensaver: Simplify plugin declaration

 src/plugins/screensaver/totem-screensaver.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/plugins/screensaver/totem-screensaver.c b/src/plugins/screensaver/totem-screensaver.c
index ab10c8ebd..4c92ed35c 100644
--- a/src/plugins/screensaver/totem-screensaver.c
+++ b/src/plugins/screensaver/totem-screensaver.c
@@ -41,10 +41,6 @@
 
 #define TOTEM_TYPE_SCREENSAVER_PLUGIN          (totem_screensaver_plugin_get_type ())
 #define TOTEM_SCREENSAVER_PLUGIN(o)            (G_TYPE_CHECK_INSTANCE_CAST ((o), 
TOTEM_TYPE_SCREENSAVER_PLUGIN, TotemScreensaverPlugin))
-#define TOTEM_SCREENSAVER_PLUGIN_CLASS(k)      (G_TYPE_CHECK_CLASS_CAST((k), TOTEM_TYPE_SCREENSAVER_PLUGIN, 
TotemScreensaverPluginClass))
-#define TOTEM_IS_SCREENSAVER_PLUGIN(o)         (G_TYPE_CHECK_INSTANCE_TYPE ((o), 
TOTEM_TYPE_SCREENSAVER_PLUGIN))
-#define TOTEM_IS_SCREENSAVER_PLUGIN_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), TOTEM_TYPE_SCREENSAVER_PLUGIN))
-#define TOTEM_SCREENSAVER_PLUGIN_GET_CLASS(o)  (G_TYPE_INSTANCE_GET_CLASS ((o), 
TOTEM_TYPE_SCREENSAVER_PLUGIN, TotemScreensaverPluginClass))
 
 typedef struct {
        TotemObject *totem;


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