diff options
-rw-r--r-- | mate-panel/panel-action-protocol.h | 8 | ||||
-rw-r--r-- | 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 <glib.h> -#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 <gtk/gtk.h> -#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__ */ |