diff options
Diffstat (limited to 'shell/es-menu.h')
-rw-r--r-- | shell/es-menu.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/shell/es-menu.h b/shell/es-menu.h index 298de64e6e..d8ac21a567 100644 --- a/shell/es-menu.h +++ b/shell/es-menu.h @@ -28,10 +28,7 @@ #include "e-util/e-menu.h" -#ifdef __cplusplus -extern "C" { -#pragma } -#endif /* __cplusplus */ +G_BEGIN_DECLS typedef struct _ESMenu ESMenu; typedef struct _ESMenuClass ESMenuClass; @@ -90,8 +87,6 @@ struct _ESMenuHookClass { GType es_menu_hook_get_type(void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __ES_MENU_H__ */ |