aboutsummaryrefslogtreecommitdiffstats
path: root/shell/es-event.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-19 00:56:51 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-19 00:56:51 +0800
commit67159043da2de9df576f6a4eaa245e0c3926f004 (patch)
tree2a1bb98e3bb539c105afb6c334594be3c3dfdf69 /shell/es-event.h
parent801224c346db9ab6564da0ef9dd96d4e54c2252c (diff)
downloadgsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.gz
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.zst
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.zip
Use G_BEGIN_DECLS / G_END_DECLS macros.
Diffstat (limited to 'shell/es-event.h')
-rw-r--r--shell/es-event.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/shell/es-event.h b/shell/es-event.h
index 0fa2ae0484..b422151a56 100644
--- a/shell/es-event.h
+++ b/shell/es-event.h
@@ -28,10 +28,7 @@
#include "e-util/e-event.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
struct _EShell; /* Avoid including "e-shell.h" */
@@ -120,8 +117,6 @@ struct _ESEventHookClass {
GType es_event_hook_get_type(void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __ES_EVENT_H__ */