diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2021-03-14 14:41:35 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2021-03-14 14:41:35 +0200 |
commit | c96f4a13b678483dc6f252c544b027337d222e5c (patch) | |
tree | 1d859f9690a952f4eb5b928dd697048ad44cdb50 | |
parent | a67521f0b61e290160642181aa81a83b8734db1c (diff) | |
download | metacity-c96f4a13b678483dc6f252c544b027337d222e5c.tar.gz |
util: use gettext macros from glib
-rw-r--r-- | src/include/util.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/util.h b/src/include/util.h index 4cca299d..3562fc3a 100644 --- a/src/include/util.h +++ b/src/include/util.h @@ -24,6 +24,7 @@ #define META_UTIL_H #include <glib.h> +#include <glib/gi18n.h> #include <X11/extensions/Xfixes.h> G_BEGIN_DECLS @@ -82,10 +83,6 @@ guint meta_unsigned_long_hash (gconstpointer v); const char* meta_gravity_to_string (int gravity); -#include <libintl.h> -#define _(x) dgettext (GETTEXT_PACKAGE, x) -#define N_(x) x - char* meta_g_utf8_strndup (const gchar *src, gsize n); GPid meta_show_dialog (const char *type, |