[gnome-software/wip/william/cherry-pick] Use GLib i18n macro
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/william/cherry-pick] Use GLib i18n macro
- Date: Mon, 23 May 2016 10:17:53 +0000 (UTC)
commit e086260def225d6d66d375a67b1afcd5b1ac9a32
Author: William Hua <william hua canonical com>
Date: Tue Feb 9 15:22:26 2016 -0500
Use GLib i18n macro
src/plugins/ubuntu-login-dialog.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/ubuntu-login-dialog.c b/src/plugins/ubuntu-login-dialog.c
index ab8723b..747a10c 100644
--- a/src/plugins/ubuntu-login-dialog.c
+++ b/src/plugins/ubuntu-login-dialog.c
@@ -1,11 +1,9 @@
#include "ubuntu-login-dialog.h"
+#include <glib/gi18n.h>
#include <json-glib/json-glib.h>
#include <libsoup/soup.h>
-/* XXX */
-#define _(x) (x)
-
#define UBUNTU_LOGIN_HOST "https://login.ubuntu.com"
struct _UbuntuLoginDialog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]