summaryrefslogtreecommitdiff
path: root/src/ui/theme-viewer.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-17 11:05:40 +0100
committerraveit65 <[email protected]>2021-03-06 23:57:46 +0100
commit8cb3a02a26c03e57d064bd03319e34b6930ac3f5 (patch)
treebfc7ff6fd0bb482bac370808259004aa3ce8b00c /src/ui/theme-viewer.c
parentbc5c7f0bc2db56fbc8475eab9b651b8a77effe91 (diff)
downloadmarco-8cb3a02a26c03e57d064bd03319e34b6930ac3f5.tar.bz2
marco-8cb3a02a26c03e57d064bd03319e34b6930ac3f5.tar.xz
i18n: Use glib's gettext support macros
Diffstat (limited to 'src/ui/theme-viewer.c')
-rw-r--r--src/ui/theme-viewer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/theme-viewer.c b/src/ui/theme-viewer.c
index 35fcdda3..e301e9b6 100644
--- a/src/ui/theme-viewer.c
+++ b/src/ui/theme-viewer.c
@@ -22,6 +22,8 @@
*/
#include <config.h>
+#include <glib/gi18n.h>
+
#include "util.h"
#include "theme.h"
#include "theme-parser.h"
@@ -31,10 +33,6 @@
#include <stdlib.h>
#include <string.h>
-#include <libintl.h>
-#define _(x) dgettext (GETTEXT_PACKAGE, x)
-#define N_(x) x
-
/* We need to compute all different button arrangements
* in terms of button location. We don't care about
* different arrangements in terms of button function.