summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog7
-rw-r--r--native/jni/gconf-peer/GConfNativePeer.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ef7d8d81f..197cbee79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* examples/gnu/classpath/examples/swing/FillRect.java,
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)