summaryrefslogtreecommitdiff
path: root/native/jni/gconf-peer/GConfNativePeer.c
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2006-08-06 15:51:47 +0000
committerMark Wielaard <mark@klomp.org>2006-08-06 15:51:47 +0000
commitf4be895324415f01dd6290536145b57bb63b5baf (patch)
treef1b741a2f0bb13c1ac300753e001af970abea072 /native/jni/gconf-peer/GConfNativePeer.c
parent3a5a75d447cf2ea044123eba374b3943606f5ec2 (diff)
downloadclasspath-f4be895324415f01dd6290536145b57bb63b5baf.tar.gz
2006-08-06 Mario Torre <neugens@limasoftware.net>
Reported by Raif S. Naffah <raif@swiftdsl.com.au> * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client): g_type_init earlier in function to correctly initialize the type system used by the backend.
Diffstat (limited to 'native/jni/gconf-peer/GConfNativePeer.c')
-rw-r--r--native/jni/gconf-peer/GConfNativePeer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/gconf-peer/GConfNativePeer.c b/native/jni/gconf-peer/GConfNativePeer.c
index 011fe8c26..a442226ca 100644
--- a/native/jni/gconf-peer/GConfNativePeer.c
+++ b/native/jni/gconf-peer/GConfNativePeer.c
@@ -551,8 +551,8 @@ throw_exception_by_name (JNIEnv *env, const char *name, const char *msg)
static void init_gconf_client (void)
{
- client = gconf_client_get_default ();
g_type_init ();
+ client = gconf_client_get_default ();
}
static gboolean set_jlist_class (JNIEnv *env)