[sound-juicer] Don't bother using i18n in the test app
- From: Ross Burton <rburton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sound-juicer] Don't bother using i18n in the test app
- Date: Wed, 25 Nov 2009 15:40:28 +0000 (UTC)
commit 24eb43e7c29197a7679c391630a628ec8c6697cb
Author: Ross Burton <ross linux intel com>
Date: Wed Nov 25 15:30:31 2009 +0000
Don't bother using i18n in the test app
tests/mb-test.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/tests/mb-test.c b/tests/mb-test.c
index 8d6ab69..9734136 100644
--- a/tests/mb-test.c
+++ b/tests/mb-test.c
@@ -1,6 +1,5 @@
#include "config.h"
#include <glib.h>
-#include <glib/gi18n.h>
#include <gconf/gconf-client.h>
#include <dbus/dbus.h>
#include <stdlib.h>
@@ -96,10 +95,6 @@ int main (int argc, char** argv)
GConfClient *gconf_client;
GError *error = NULL;
- bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- textdomain (GETTEXT_PACKAGE);
-
dbus_threads_init_default ();
g_type_init ();
@@ -107,7 +102,7 @@ int main (int argc, char** argv)
gconf_client = gconf_client_get_default ();
if (gconf_client == NULL) {
- g_warning (_("Could not create GConf client.\n"));
+ g_warning ("Could not create GConf client.\n");
exit (1);
}
gconf_client_add_dir (gconf_client, GCONF_ROOT, GCONF_CLIENT_PRELOAD_RECURSIVE, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]