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



commit 538966409bc032d6eacb2197b9bc979a3913bd2f
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]