summaryrefslogtreecommitdiff
path: root/typing-break/drw-break-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 /typing-break/drw-break-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 'typing-break/drw-break-window.h')
-rw-r--r--typing-break/drw-break-window.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/typing-break/drw-break-window.h b/typing-break/drw-break-window.h
index 5a45977c..f9925df7 100644
--- a/typing-break/drw-break-window.h
+++ b/typing-break/drw-break-window.h
@@ -22,11 +22,10 @@
#ifndef __DRW_BREAK_WINDOW_H__
#define __DRW_BREAK_WINDOW_H__
+#include <glib.h>
#include <gtk/gtk.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
#define DRW_TYPE_BREAK_WINDOW (drw_break_window_get_type ())
#define DRW_BREAK_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DRW_TYPE_BREAK_WINDOW, DrwBreakWindow))
@@ -52,8 +51,6 @@ struct _DrwBreakWindowClass {
GType drw_break_window_get_type (void) G_GNUC_CONST;
GtkWidget * drw_break_window_new (void);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* __DRW_BREAK_WINDOW_H__ */