[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 72/331] Use GLib i18n macro



commit 63ae3a5386330b04c2acc0cb15f9be6585d78d1f
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 c73e774..2c6395e 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]