[totem/wip/hadess/trim-plugin-decl: 9/12] screenshot: Simplify plugin declaration




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

    screenshot: Simplify plugin declaration

 src/plugins/screenshot/totem-screenshot-plugin.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/plugins/screenshot/totem-screenshot-plugin.c 
b/src/plugins/screenshot/totem-screenshot-plugin.c
index e1483b7e1..2754b1851 100644
--- a/src/plugins/screenshot/totem-screenshot-plugin.c
+++ b/src/plugins/screenshot/totem-screenshot-plugin.c
@@ -42,10 +42,6 @@
 
 #define TOTEM_TYPE_SCREENSHOT_PLUGIN           (totem_screenshot_plugin_get_type ())
 #define TOTEM_SCREENSHOT_PLUGIN(o)             (G_TYPE_CHECK_INSTANCE_CAST ((o), 
TOTEM_TYPE_SCREENSHOT_PLUGIN, TotemScreenshotPlugin))
-#define TOTEM_SCREENSHOT_PLUGIN_CLASS(k)       (G_TYPE_CHECK_CLASS_CAST((k), TOTEM_TYPE_SCREENSHOT_PLUGIN, 
TotemScreenshotPluginClass))
-#define TOTEM_IS_SCREENSHOT_PLUGIN(o)          (G_TYPE_CHECK_INSTANCE_TYPE ((o), 
TOTEM_TYPE_SCREENSHOT_PLUGIN))
-#define TOTEM_IS_SCREENSHOT_PLUGIN_CLASS(k)    (G_TYPE_CHECK_CLASS_TYPE ((k), TOTEM_TYPE_SCREENSHOT_PLUGIN))
-#define TOTEM_SCREENSHOT_PLUGIN_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), 
TOTEM_TYPE_SCREENSHOT_PLUGIN, TotemScreenshotPluginClass))
 
 typedef struct {
        Totem *totem;


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