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/mate-utils.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'libslab/mate-utils.h') diff --git a/libslab/mate-utils.h b/libslab/mate-utils.h index cf2f315e..0fa4cd3f 100644 --- a/libslab/mate-utils.h +++ b/libslab/mate-utils.h @@ -21,16 +21,14 @@ #ifndef __MATE_UTILS_H__ #define __MATE_UTILS_H__ +#include #include -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS gboolean load_image_by_id (GtkImage * image, GtkIconSize size, const gchar * image_id); -#ifdef __cplusplus -} -#endif +G_END_DECLS + #endif /* __MATE_UTILS_H__ */ -- cgit v1.2.1