summaryrefslogtreecommitdiff
path: root/src/core
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/core
parentbc5c7f0bc2db56fbc8475eab9b651b8a77effe91 (diff)
downloadmarco-8cb3a02a26c03e57d064bd03319e34b6930ac3f5.tar.bz2
marco-8cb3a02a26c03e57d064bd03319e34b6930ac3f5.tar.xz
i18n: Use glib's gettext support macros
Diffstat (limited to 'src/core')
-rw-r--r--src/core/bell.c2
-rw-r--r--src/core/core.c2
-rw-r--r--src/core/delete.c2
-rw-r--r--src/core/display.c2
-rw-r--r--src/core/errors.c1
-rw-r--r--src/core/keybindings.c2
-rw-r--r--src/core/main.c2
-rw-r--r--src/core/prefs.c2
-rw-r--r--src/core/screen.c2
-rw-r--r--src/core/session.c1
-rw-r--r--src/core/util.c2
-rw-r--r--src/core/window-props.c2
-rw-r--r--src/core/window.c2
-rw-r--r--src/core/xprops.c2
14 files changed, 25 insertions, 1 deletions
diff --git a/src/core/bell.c b/src/core/bell.c
index 9a847bc3..107933ef 100644
--- a/src/core/bell.c
+++ b/src/core/bell.c
@@ -49,6 +49,8 @@
*/
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "bell.h"
#include "screen-private.h"
#include "prefs.h"
diff --git a/src/core/core.c b/src/core/core.c
index b089e754..37459d8f 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -24,6 +24,8 @@
*/
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "core.h"
#include "frame-private.h"
#include "workspace.h"
diff --git a/src/core/delete.c b/src/core/delete.c
index 63f0d2f8..593f2607 100644
--- a/src/core/delete.c
+++ b/src/core/delete.c
@@ -26,6 +26,8 @@
#define _XOPEN_SOURCE /* for gethostname() and kill() */
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "util.h"
#include "window-private.h"
#include "errors.h"
diff --git a/src/core/display.c b/src/core/display.c
index d9400d39..f79e60ea 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -29,6 +29,8 @@
*/
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "display-private.h"
#include "util.h"
#include "main.h"
diff --git a/src/core/errors.c b/src/core/errors.c
index 048477f3..54bd9565 100644
--- a/src/core/errors.c
+++ b/src/core/errors.c
@@ -50,4 +50,3 @@ meta_error_trap_pop_with_return (MetaDisplay *display,
{
return gdk_x11_display_error_trap_pop (gdk_x11_lookup_xdisplay (meta_display_get_xdisplay (display)));
}
-
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 5b0000ea..64db48b8 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -27,6 +27,8 @@
#define _XOPEN_SOURCE /* for putenv() */
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "keybindings.h"
#include "workspace.h"
#include "errors.h"
diff --git a/src/core/main.c b/src/core/main.c
index 3ca95e6f..825859e6 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -45,6 +45,8 @@
#define _XOPEN_SOURCE /* for putenv() and some signal-related functions */
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "main.h"
#include "util.h"
#include "display-private.h"
diff --git a/src/core/prefs.c b/src/core/prefs.c
index e73324f0..0c11fff6 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -24,6 +24,8 @@
*/
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "prefs.h"
#include "ui.h"
#include "util.h"
diff --git a/src/core/screen.c b/src/core/screen.c
index efb65945..5e65fd2a 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -27,6 +27,8 @@
*/
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "screen-private.h"
#include "util.h"
#include "errors.h"
diff --git a/src/core/session.c b/src/core/session.c
index 5cd13b31..9b4407ba 100644
--- a/src/core/session.c
+++ b/src/core/session.c
@@ -24,6 +24,7 @@
*/
#include <config.h>
+#include <glib/gi18n-lib.h>
#include "session.h"
#include <X11/Xatom.h>
diff --git a/src/core/util.c b/src/core/util.c
index c29901de..baf485ae 100644
--- a/src/core/util.c
+++ b/src/core/util.c
@@ -26,6 +26,8 @@
#define _POSIX_C_SOURCE 200112L /* for fdopen() */
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "util.h"
#include "main.h"
diff --git a/src/core/window-props.c b/src/core/window-props.c
index f0eb1c64..ed1d5c0c 100644
--- a/src/core/window-props.c
+++ b/src/core/window-props.c
@@ -39,6 +39,8 @@
#define _XOPEN_SOURCE /* for gethostname() */
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "window-props.h"
#include "errors.h"
#include "xprops.h"
diff --git a/src/core/window.c b/src/core/window.c
index e377d7df..9338d736 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -25,6 +25,8 @@
*/
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "window-private.h"
#include "edge-resistance.h"
#include "util.h"
diff --git a/src/core/xprops.c b/src/core/xprops.c
index 5cc9b451..9776b09c 100644
--- a/src/core/xprops.c
+++ b/src/core/xprops.c
@@ -80,6 +80,8 @@ from The Open Group.
*/
#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include "xprops.h"
#include "errors.h"
#include "util.h"