summaryrefslogtreecommitdiff
path: root/capplets/keyboard/mate-keyboard-properties-xkb.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-25 15:16:24 +0100
committerraveit65 <[email protected]>2020-12-04 22:16:45 +0100
commit05b19376eab0550595c1f27647d028074c8f739a (patch)
tree91f8f9e635a65f94b26f2c1c3b8bd69204e19ff6 /capplets/keyboard/mate-keyboard-properties-xkb.h
parentff32e170961fa1999f802c844ead5d962dfec505 (diff)
downloadmate-control-center-05b19376eab0550595c1f27647d028074c8f739a.tar.bz2
mate-control-center-05b19376eab0550595c1f27647d028074c8f739a.tar.xz
Use G_BEGIN_DECLS/G_END_DECLS macros
Diffstat (limited to 'capplets/keyboard/mate-keyboard-properties-xkb.h')
-rw-r--r--capplets/keyboard/mate-keyboard-properties-xkb.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkb.h b/capplets/keyboard/mate-keyboard-properties-xkb.h
index 55827e12..9e80eba0 100644
--- a/capplets/keyboard/mate-keyboard-properties-xkb.h
+++ b/capplets/keyboard/mate-keyboard-properties-xkb.h
@@ -24,13 +24,13 @@
#ifndef __MATE_KEYBOARD_PROPERTY_XKB_H
#define __MATE_KEYBOARD_PROPERTY_XKB_H
+#include <glib.h>
#include <gio/gio.h>
#include "libmatekbd/matekbd-keyboard-config.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
+
#define CWID(s) GTK_WIDGET (gtk_builder_get_object (chooser_dialog, s))
extern XklEngine *engine;
extern XklConfigRegistry *config_registry;
@@ -91,7 +91,6 @@ extern void xkb_save_default_group (gint group_no);
extern gint xkb_get_default_group (void);
-#ifdef __cplusplus
-}
-#endif
-#endif /* __MATE_KEYBOARD_PROPERTY_XKB_H */
+G_END_DECLS
+
+#endif /* __MATE_KEYBOARD_PROPERTY_XKB_H */