summaryrefslogtreecommitdiff
path: root/mate-panel
diff options
context:
space:
mode:
authoryetist <[email protected]>2015-06-19 00:23:13 +0800
committerinfirit <[email protected]>2015-08-26 14:44:57 +0200
commita9f71dd4dfaa14731b85fca4b50d197022ae42df (patch)
treeb461ef005018d604d2ba65dc030033b93212f0f1 /mate-panel
parent8f69742b195a7865bc0a23f660afa888aa437f86 (diff)
downloadmate-panel-a9f71dd4dfaa14731b85fca4b50d197022ae42df.tar.bz2
mate-panel-a9f71dd4dfaa14731b85fca4b50d197022ae42df.tar.xz
use G_BEGIN_DECLS & G_END_DECLS
Diffstat (limited to 'mate-panel')
-rw-r--r--mate-panel/panel-action-protocol.h8
-rw-r--r--mate-panel/panel-run-dialog.h8
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__ */