aboutsummaryrefslogtreecommitdiff
path: root/ui/input-barrier.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/input-barrier.c')
-rw-r--r--ui/input-barrier.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ui/input-barrier.c b/ui/input-barrier.c
index 477f6cd70e..67d52afbea 100644
--- a/ui/input-barrier.c
+++ b/ui/input-barrier.c
@@ -22,12 +22,8 @@
#define TYPE_INPUT_BARRIER "input-barrier"
typedef struct InputBarrier InputBarrier;
typedef struct InputBarrierClass InputBarrierClass;
-#define INPUT_BARRIER(obj) \
- OBJECT_CHECK(InputBarrier, (obj), TYPE_INPUT_BARRIER)
-#define INPUT_BARRIER_GET_CLASS(obj) \
- OBJECT_GET_CLASS(InputBarrierClass, (obj), TYPE_INPUT_BARRIER)
-#define INPUT_BARRIER_CLASS(klass) \
- OBJECT_CLASS_CHECK(InputBarrierClass, (klass), TYPE_INPUT_BARRIER)
+DECLARE_OBJ_CHECKERS(InputBarrier, InputBarrierClass,
+ INPUT_BARRIER, TYPE_INPUT_BARRIER)
#define MAX_HELLO_LENGTH 1024