summaryrefslogtreecommitdiff
path: root/capplets/keybindings/eggaccelerators.h
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/keybindings/eggaccelerators.h')
-rw-r--r--capplets/keybindings/eggaccelerators.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/capplets/keybindings/eggaccelerators.h b/capplets/keybindings/eggaccelerators.h
index 4f503d6b..794879b8 100644
--- a/capplets/keybindings/eggaccelerators.h
+++ b/capplets/keybindings/eggaccelerators.h
@@ -21,12 +21,11 @@
#ifndef __EGG_ACCELERATORS_H__
#define __EGG_ACCELERATORS_H__
+#include <glib.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
/* Where a value is also in GdkModifierType we coincide,
* otherwise we don't overlap.
@@ -91,9 +90,6 @@ gchar* egg_virtual_accelerator_label (guint accelerator_key,
guint keycode,
EggVirtualModifierType accelerator_mods);
-#ifdef __cplusplus
-}
-#endif
-
+G_END_DECLS
#endif /* __EGG_ACCELERATORS_H__ */