summaryrefslogtreecommitdiff
path: root/libslab/double-click-detector.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/double-click-detector.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/double-click-detector.h')
-rw-r--r--libslab/double-click-detector.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libslab/double-click-detector.h b/libslab/double-click-detector.h
index 57a0a7a2..4a745d8e 100644
--- a/libslab/double-click-detector.h
+++ b/libslab/double-click-detector.h
@@ -21,11 +21,10 @@
#ifndef __DOUBLE_CLICK_DETECTOR_H__
#define __DOUBLE_CLICK_DETECTOR_H__
+#include <glib.h>
#include <glib-object.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
#define DOUBLE_CLICK_DETECTOR_TYPE (double_click_detector_get_type ())
#define DOUBLE_CLICK_DETECTOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DOUBLE_CLICK_DETECTOR_TYPE, DoubleClickDetector))
@@ -54,7 +53,6 @@ DoubleClickDetector *double_click_detector_new (void);
gboolean double_click_detector_is_double_click (DoubleClickDetector * detector, guint32 event_time,
gboolean auto_update);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
+
#endif /* __DOUBLE_CLICK_DETECTOR_H__ */