aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-text-event-processor-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-text-event-processor-types.h')
-rw-r--r--e-util/e-text-event-processor-types.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/e-util/e-text-event-processor-types.h b/e-util/e-text-event-processor-types.h
index 0881438cec..5cb3f198d7 100644
--- a/e-util/e-text-event-processor-types.h
+++ b/e-util/e-text-event-processor-types.h
@@ -24,12 +24,11 @@
#ifndef __E_TEXT_EVENT_PROCESSOR_TYPES_H__
#define __E_TEXT_EVENT_PROCESSOR_TYPES_H__
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+#include <glib/gmacros.h>
-#include <gdk/gdktypes.h>
+G_BEGIN_DECLS
+
+#include <gdk/gdkevents.h>
typedef union _ETextEventProcessorEvent ETextEventProcessorEvent;
@@ -128,9 +127,6 @@ typedef enum _ETextEventProcessorCaps {
E_TEP_CAPS_TITLE
} ETextEventProcessorCaps;
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __E_TEXT_EVENT_PROCESSOR_TYPES_H__ */