[libpeas] i18n: give access to peas_gettext() in public ABI



commit f7aae3257e5654a9c3be9bad85dcf5e7a12be6ed
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]