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/themed-icon.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libslab/themed-icon.h') diff --git a/libslab/themed-icon.h b/libslab/themed-icon.h index 1ddad004..d4604430 100644 --- a/libslab/themed-icon.h +++ b/libslab/themed-icon.h @@ -24,9 +24,7 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define THEMED_ICON_TYPE (themed_icon_get_type ()) #define THEMED_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), THEMED_ICON_TYPE, ThemedIcon)) @@ -51,7 +49,6 @@ typedef struct GType themed_icon_get_type (void); GtkWidget *themed_icon_new (const gchar * id, GtkIconSize size); -#ifdef __cplusplus -} -#endif +G_END_DECLS + #endif /* __THEMED_ICON_H__ */ -- cgit v1.2.1