summaryrefslogtreecommitdiff
path: root/libslab/shell-window.h
diff options
context:
space:
mode:
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__ */