Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2008-10-17 14:48:23 +0000
committerTomasz Zarna2008-10-17 14:48:23 +0000
commitfd71f1620114307c7083b28c188461d6a7231d94 (patch)
treee36a5367dfc471c4a94d39a52321b5f5faa6a718 /bundles/org.eclipse.core.net/natives/unix
parente43245b64475f1d1860d627708c61909e3588f22 (diff)
downloadeclipse.platform.team-fd71f1620114307c7083b28c188461d6a7231d94.tar.gz
eclipse.platform.team-fd71f1620114307c7083b28c188461d6a7231d94.tar.xz
eclipse.platform.team-fd71f1620114307c7083b28c188461d6a7231d94.zip
bug 248210: [Net] Consistent crashes from UnixProxyProvider
Diffstat (limited to 'bundles/org.eclipse.core.net/natives/unix')
-rw-r--r--bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c b/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c
index 37209d563..870e0bedd 100644
--- a/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c
+++ b/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c
@@ -47,6 +47,7 @@ static jmethodID passwordMethod;
JNIEXPORT void JNICALL Java_org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider_gconfInit(
JNIEnv *env, jclass clazz) {
+ g_type_init();
client = gconf_client_get_default();
jclass cls= NULL;
CHECK_NULL(cls = (*env)->FindClass(env, "org/eclipse/core/internal/net/ProxyData"));

Back to the top