From a9f71dd4dfaa14731b85fca4b50d197022ae42df Mon Sep 17 00:00:00 2001 From: yetist Date: Fri, 19 Jun 2015 00:23:13 +0800 Subject: use G_BEGIN_DECLS & G_END_DECLS --- mate-panel/panel-action-protocol.h | 8 ++------ mate-panel/panel-run-dialog.h | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/mate-panel/panel-action-protocol.h b/mate-panel/panel-action-protocol.h index 3764bb43..ceb7aaf3 100644 --- a/mate-panel/panel-action-protocol.h +++ b/mate-panel/panel-action-protocol.h @@ -27,14 +27,10 @@ #include -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS void panel_action_protocol_init (void); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* __PANEL_ACTION_PROTOCOL_H__ */ diff --git a/mate-panel/panel-run-dialog.h b/mate-panel/panel-run-dialog.h index cdd325cc..5e491d5a 100644 --- a/mate-panel/panel-run-dialog.h +++ b/mate-panel/panel-run-dialog.h @@ -27,17 +27,13 @@ #include -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS void panel_run_dialog_present (GdkScreen *screen, guint32 activate_time); void panel_run_dialog_quit_on_destroy (void); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* __PANEL_RUN_DIALOG_H__ */ -- cgit v1.2.1