[java-atk-wrapper] remove g_type_init



commit 471fcacfc9ef660fcfe8b11506d4eaf4cfd8831a
Author: Magdalen Berns <m berns thismagpie com>
Date:   Sat Nov 15 15:36:26 2014 +0000

    remove g_type_init
    
    g_type_init has been deprecated since version 2.36 and
    the type system is now initialised automatically.
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=740175

 jni/src/AtkWrapper.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/jni/src/AtkWrapper.c b/jni/src/AtkWrapper.c
index 2a397c1..1e1414d 100644
--- a/jni/src/AtkWrapper.c
+++ b/jni/src/AtkWrapper.c
@@ -143,8 +143,6 @@ JNIEXPORT jboolean
 JNICALL Java_org_GNOME_Accessibility_AtkWrapper_initNativeLibrary(JNIEnv *jniEnv,
                                                                   jclass jClass)
 {
-  g_type_init();
-
   // Hook up g_idle_dispatch
   origin_g_idle_dispatch = g_idle_funcs.dispatch;
   g_idle_funcs.dispatch = jaw_idle_dispatch;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]