summaryrefslogtreecommitdiff
path: root/tests/testpersistence.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-03-10 22:23:48 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-03-10 22:23:48 +0000
commitea4c62e39fa4c4ac16841a375abf2723ab4c4fdb (patch)
treeb8306de954bf72c01b9cb938113c17a1baaee70c /tests/testpersistence.c
parent110d3e7e66aa5103bdf48eea693ed6d8228a65a6 (diff)
downloadgconf-ea4c62e39fa4c4ac16841a375abf2723ab4c4fdb.tar.gz
fix obnoxious typo (s/mi/this_mi/), also needed to fix bug reported by
2002-03-10 Havoc Pennington <hp@pobox.com> * gconf/gconf-sources.c (gconf_sources_query_metainfo): fix obnoxious typo (s/mi/this_mi/), also needed to fix bug reported by Kristian. * backends/xml-backend.c (query_metainfo): make key relative prior to looking up metainfo. Fixes bug where schema defaults would mysteriously get lost in some cases, reported by Kristian Rietveld. 2002-03-07 Havoc Pennington <hp@pobox.com> * backends/xml-test.c: test program for XML backend code * configure.in: add a "minimum" debug mode and compile with it by default. * gconf/gconftool.c (main): call setlocale() * tests/runtests.sh: run tests in various locales * gconf/gconf-value.h: add more padding to GConfEntry * gconf/gconf-internals.c (gconf_CORBA_Object_equal): (gconf_CORBA_Object_hash): remove stupid inlining of these functions
Diffstat (limited to 'tests/testpersistence.c')
-rw-r--r--tests/testpersistence.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testpersistence.c b/tests/testpersistence.c
index ec45ffa6..30c94d68 100644
--- a/tests/testpersistence.c
+++ b/tests/testpersistence.c
@@ -50,6 +50,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
+#include <locale.h>
#include <gconf/gconf-internals.h>
const char *null_safe(const char *s)
@@ -884,6 +885,8 @@ main (int argc, char** argv)
{
GConfEngine* conf;
GError* err = NULL;
+
+ setlocale (LC_ALL, "");
if (!gconf_init(argc, argv, &err))
{