From 05b19376eab0550595c1f27647d028074c8f739a Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 25 Nov 2020 15:16:24 +0100 Subject: Use G_BEGIN_DECLS/G_END_DECLS macros --- libslab/slab-section.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libslab/slab-section.h') diff --git a/libslab/slab-section.h b/libslab/slab-section.h index 45868818..04288a87 100644 --- a/libslab/slab-section.h +++ b/libslab/slab-section.h @@ -24,9 +24,7 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define SLAB_SECTION_TYPE (slab_section_get_type ()) #define SLAB_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SLAB_SECTION_TYPE, SlabSection)) @@ -69,7 +67,6 @@ void slab_section_set_title (SlabSection * section, const gchar * title); void slab_section_set_contents (SlabSection * section, GtkWidget * contents); void slab_section_set_selected (SlabSection * section, gboolean selected); -#ifdef __cplusplus -} -#endif +G_END_DECLS + #endif /* __SLAB_SECTION_H__ */ -- cgit v1.2.1