[totem/wip/hadess/trim-plugin-decl: 7/10] screensaver: Simplify plugin declaration




commit 075c90674a7946a8f8652ff003f689d420b54cfb
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]