summaryrefslogtreecommitdiff
path: root/modules/input
diff options
context:
space:
mode:
Diffstat (limited to 'modules/input')
-rw-r--r--modules/input/gtkimcontextthai.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/input/gtkimcontextthai.h b/modules/input/gtkimcontextthai.h
index 8c4049739..06b37f015 100644
--- a/modules/input/gtkimcontextthai.h
+++ b/modules/input/gtkimcontextthai.h
@@ -24,9 +24,7 @@
#include <gtk/gtkimcontext.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
extern GType gtk_type_im_context_thai;
@@ -74,9 +72,6 @@ GtkIMContextThaiISCMode
gtk_im_context_thai_set_isc_mode (GtkIMContextThai *context_thai,
GtkIMContextThaiISCMode mode);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_IM_CONTEXT_THAI_H__ */