[metacity] metacity-message: use gettext macros from glib
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] metacity-message: use gettext macros from glib
- Date: Sun, 14 Mar 2021 13:11:53 +0000 (UTC)
commit 4b1dec08ce8acfe43ecc8185515b88df1d7c8699
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Mar 14 14:44:59 2021 +0200
metacity-message: use gettext macros from glib
src/tools/metacity-message.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/tools/metacity-message.c b/src/tools/metacity-message.c
index 12bd843df..c71eb8688 100644
--- a/src/tools/metacity-message.c
+++ b/src/tools/metacity-message.c
@@ -18,16 +18,12 @@
*/
#include <config.h>
+#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include <stdlib.h>
#include <string.h>
-#include <libintl.h>
-#define _(x) dgettext (GETTEXT_PACKAGE, x)
-#define N_(x) x
-
-
static void
send_restart (void)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]