[libpeas/1.24: 4/11] i18n: give access to peas_gettext() in public ABI



commit 962dc85e689a338356b53622939aedcec422da5d
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 23 17:48:19 2019 -0700

    i18n: give access to peas_gettext() in public ABI

 libpeas/peas-i18n.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libpeas/peas-i18n.h b/libpeas/peas-i18n.h
index 26b0d47..664c068 100644
--- a/libpeas/peas-i18n.h
+++ b/libpeas/peas-i18n.h
@@ -30,7 +30,7 @@
 #include <config.h>
 #endif
 
-#include <glib.h>
+#include "peas-version-macros.h"
 
 G_BEGIN_DECLS
 
@@ -64,6 +64,7 @@ G_BEGIN_DECLS
 #    define N_(String) (String)
 #endif
 
+PEAS_AVAILABLE_IN_ALL
 const gchar *peas_gettext (const char *msgid) G_GNUC_FORMAT(1);
 
 /* not really I18N-related, but also a string marker macro */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]