[totem/wip/hadess/trim-plugin-decl: 3/12] media-player-keys: Simplify plugin declaration




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

    media-player-keys: Simplify plugin declaration

 src/plugins/media-player-keys/totem-media-player-keys.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/plugins/media-player-keys/totem-media-player-keys.c 
b/src/plugins/media-player-keys/totem-media-player-keys.c
index c0a5eb480..6027eedc6 100644
--- a/src/plugins/media-player-keys/totem-media-player-keys.c
+++ b/src/plugins/media-player-keys/totem-media-player-keys.c
@@ -41,10 +41,6 @@
 
 #define TOTEM_TYPE_MEDIA_PLAYER_KEYS_PLUGIN            (totem_media_player_keys_plugin_get_type ())
 #define TOTEM_MEDIA_PLAYER_KEYS_PLUGIN(o)              (G_TYPE_CHECK_INSTANCE_CAST ((o), 
TOTEM_TYPE_MEDIA_PLAYER_KEYS_PLUGIN, TotemMediaPlayerKeysPlugin))
-#define TOTEM_MEDIA_PLAYER_KEYS_PLUGIN_CLASS(k)        (G_TYPE_CHECK_CLASS_CAST((k), 
TOTEM_TYPE_MEDIA_PLAYER_KEYS_PLUGIN, TotemMediaPlayerKeysPluginClass))
-#define TOTEM_IS_MEDIA_PLAYER_KEYS_PLUGIN(o)           (G_TYPE_CHECK_INSTANCE_TYPE ((o), 
TOTEM_TYPE_MEDIA_PLAYER_KEYS_PLUGIN))
-#define TOTEM_IS_MEDIA_PLAYER_KEYS_PLUGIN_CLASS(k)     (G_TYPE_CHECK_CLASS_TYPE ((k), 
TOTEM_TYPE_MEDIA_PLAYER_KEYS_PLUGIN))
-#define TOTEM_MEDIA_PLAYER_KEYS_PLUGIN_GET_CLASS(o)    (G_TYPE_INSTANCE_GET_CLASS ((o), 
TOTEM_TYPE_MEDIA_PLAYER_KEYS_PLUGIN, TotemMediaPlayerKeysPluginClass))
 
 typedef struct {
        GDBusProxy    *proxy;


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