aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-text-event-processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-text-event-processor.h')
-rw-r--r--e-util/e-text-event-processor.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/e-util/e-text-event-processor.h b/e-util/e-text-event-processor.h
index a9d329c140..1f313bd35d 100644
--- a/e-util/e-text-event-processor.h
+++ b/e-util/e-text-event-processor.h
@@ -26,10 +26,7 @@
#include <gtk/gtk.h>
#include <e-util/e-text-event-processor-types.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* ETextEventProcessor - Turns events on a text widget into commands.
*
@@ -67,9 +64,7 @@ struct _ETextEventProcessorClass
GType e_text_event_processor_get_type (void);
gint e_text_event_processor_handle_event (ETextEventProcessor *tep, ETextEventProcessorEvent *event);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __E_TEXT_EVENT_PROCESSOR_H__ */