[glib-networking] Fix i18n in gtls[input,output]stream
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] Fix i18n in gtls[input,output]stream
- Date: Fri, 26 Jul 2019 19:33:17 +0000 (UTC)
commit 447028df89a5361a79db4ff3cdb0f22f8bbb4400
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Fri Jul 26 14:32:06 2019 -0500
Fix i18n in gtls[input,output]stream
It's pulling translation's from the application's gettext domain rather
than glib-networking's. We need to include the right header to ensure
_() is defined to use g_dgettext() rather than normal gettext().
tls/base/gtlsinputstream.c | 2 +-
tls/base/gtlsoutputstream.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tls/base/gtlsinputstream.c b/tls/base/gtlsinputstream.c
index 8f7776b..4f7a84f 100644
--- a/tls/base/gtlsinputstream.c
+++ b/tls/base/gtlsinputstream.c
@@ -25,7 +25,7 @@
#include "config.h"
#include "gtlsinputstream.h"
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
struct _GTlsInputStream
{
diff --git a/tls/base/gtlsoutputstream.c b/tls/base/gtlsoutputstream.c
index 15f7c7e..796a4cd 100644
--- a/tls/base/gtlsoutputstream.c
+++ b/tls/base/gtlsoutputstream.c
@@ -25,7 +25,7 @@
#include "config.h"
#include "gtlsoutputstream.h"
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
struct _GTlsOutputStream
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]