summaryrefslogtreecommitdiffstats
path: root/src/ibusobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ibusobject.h')
-rw-r--r--src/ibusobject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ibusobject.h b/src/ibusobject.h
index 2c09882..67fb95b 100644
--- a/src/ibusobject.h
+++ b/src/ibusobject.h
@@ -50,9 +50,10 @@ typedef enum {
IBUS_RESERVED_2 = (1 << 3),
} IBusObjectFlags;
-#define IBUS_OBJECT_FLAGS(obj) (IBUS_OBJECT (obj)->flags)
+#define IBUS_OBJECT_FLAGS(obj) (IBUS_OBJECT (obj)->flags)
#define IBUS_OBJECT_SET_FLAGS(obj,flag) G_STMT_START{ (IBUS_OBJECT_FLAGS (obj) |= (flag)); }G_STMT_END
#define IBUS_OBJECT_UNSET_FLAGS(obj,flag) G_STMT_START{ (IBUS_OBJECT_FLAGS (obj) &= ~(flag)); }G_STMT_END
+#define IBUS_OBJECT_DESTROYED(obj) (IBUS_OBJECT_FLAGS (obj) & IBUS_DESTROYED)
G_BEGIN_DECLS