summaryrefslogtreecommitdiff
path: root/libslab/shell-window.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-25 15:16:24 +0100
committerraveit65 <[email protected]>2020-12-04 22:16:45 +0100
commit05b19376eab0550595c1f27647d028074c8f739a (patch)
tree91f8f9e635a65f94b26f2c1c3b8bd69204e19ff6 /libslab/shell-window.h
parentff32e170961fa1999f802c844ead5d962dfec505 (diff)
downloadmate-control-center-05b19376eab0550595c1f27647d028074c8f739a.tar.bz2
mate-control-center-05b19376eab0550595c1f27647d028074c8f739a.tar.xz
Use G_BEGIN_DECLS/G_END_DECLS macros
Diffstat (limited to 'libslab/shell-window.h')
-rw-r--r--libslab/shell-window.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/libslab/shell-window.h b/libslab/shell-window.h
index 3dae6f7f..2aa51e3f 100644
--- a/libslab/shell-window.h
+++ b/libslab/shell-window.h
@@ -26,9 +26,7 @@
#include "app-shell.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
#define SHELL_WINDOW_TYPE (shell_window_get_type ())
#define SHELL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SHELL_WINDOW_TYPE, ShellWindow))
@@ -62,7 +60,6 @@ void shell_window_set_contents (ShellWindow * window, GtkWidget * left_pane,
GtkWidget * right_pane);
void shell_window_clear_resize_handler (ShellWindow * win);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
+
#endif /* __SHELL_WINDOW_H__ */