diff options
author | Jan Ziak <0xe2.0x9a.0x9b@xfce.org> | 2021-08-01 02:26:53 +0200 |
---|---|---|
committer | Alexander Schwinn <alexxcons@xfce.org> | 2021-08-29 00:00:00 +0200 |
commit | e9c3f3ea626f8a3f02891be7652328481b2f4755 (patch) | |
tree | 41580b0dfe97da1c230a21a5e4bb511085ae9e93 | |
parent | 16eae00d1d55d94f30caba1070e56b5c36aa79b4 (diff) | |
download | libxfce4util-xfce-4.16.tar.gz |
Add missing G_BEGIN_DECLS and G_END_DECLSxfce-4.16
The missing directives prevent libxfce4util to be used from C++ code.
MR !19
-rw-r--r-- | libxfce4util/xfce-i18n.h | 4 | ||||
-rw-r--r-- | libxfce4util/xfce-rc-private.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libxfce4util/xfce-i18n.h b/libxfce4util/xfce-i18n.h index 782a657..681c004 100644 --- a/libxfce4util/xfce-i18n.h +++ b/libxfce4util/xfce-i18n.h @@ -35,6 +35,8 @@ #include <glib/gi18n.h> #endif +G_BEGIN_DECLS + #if !defined(GETTEXT_PACKAGE) #ifdef gettext @@ -91,4 +93,6 @@ gchar* xfce_get_path_localized (gchar *dst, guint xfce_locale_match (const gchar *locale1, const gchar *locale2); +G_END_DECLS + #endif /* !__XFCE_I18N_H__ */ diff --git a/libxfce4util/xfce-rc-private.h b/libxfce4util/xfce-rc-private.h index e482729..3f2f616 100644 --- a/libxfce4util/xfce-rc-private.h +++ b/libxfce4util/xfce-rc-private.h @@ -24,6 +24,8 @@ #include <libxfce4util/libxfce4util.h> +G_BEGIN_DECLS + typedef struct _XfceRcConfig XfceRcConfig; typedef struct _XfceRcSimple XfceRcSimple; @@ -133,5 +135,6 @@ G_GNUC_INTERNAL void _xfce_rc_config_write_entry (XfceRc *rc, const gchar *key, const gchar *value); +G_END_DECLS #endif /* !__LIBXFCE4UTIL_XFCE_RC_PRIVATE_H__ */ |