[java-atk-wrapper] Fix symbol lookup error jaw_misc_type



commit 35ae4b387905e0cc1c08668b0dbe0addd952e3c4
Author: Magdalen Berns <m berns thismagpie com>
Date:   Wed Dec 3 12:12:27 2014 +0000

    Fix symbol lookup error jaw_misc_type
    
    Some misc interface work was left hanging around which caused
    a symbol look up error on arch linux with jaw_misc_type.
    Removing the remaining misc interface work should resolve that
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=741062

 jni/src/AtkWrapper.c |    1 -
 jni/src/jawutil.h    |   21 ---------------------
 2 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/jni/src/AtkWrapper.c b/jni/src/AtkWrapper.c
index 00bf4f8..592289a 100644
--- a/jni/src/AtkWrapper.c
+++ b/jni/src/AtkWrapper.c
@@ -169,7 +169,6 @@ JNICALL Java_org_GNOME_Accessibility_AtkWrapper_initNativeLibrary(JNIEnv *jniEnv
   g_setenv("NO_AT_BRIDGE", "1", TRUE);
 
   g_type_class_unref(g_type_class_ref(JAW_TYPE_UTIL));
-  g_type_class_unref(g_type_class_ref(JAW_TYPE_MISC));
   // Force to invoke base initialization function of each ATK interfaces
   g_type_class_unref(g_type_class_ref(ATK_TYPE_NO_OP_OBJECT));
 
diff --git a/jni/src/jawutil.h b/jni/src/jawutil.h
index e0d0f84..9730d3a 100644
--- a/jni/src/jawutil.h
+++ b/jni/src/jawutil.h
@@ -72,27 +72,6 @@ void         jaw_util_get_rect_info(JNIEnv *jniEnv, jobject jrect,
                        gint *x, gint *y, gint *width, gint *height);
 gboolean       jaw_util_dispatch_key_event (AtkKeyEventStruct *event);
 
-#define JAW_TYPE_MISC                           (jaw_misc_get_type ())
-#define JAW_MISC_CLASS(klass)                   (G_TYPE_CHECK_CLASS_CAST ((klass), JAW_TYPE_MISC, 
JawMiscClass))
-#define JAW_IS_MISC(obj)                        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), JAW_TYPE_MISC))
-#define JAW_IS_MISC_CLASS(klass)                (G_TYPE_CHECK_CLASS_TYPE ((klass), JAW_TYPE_MISC))
-#define JAW_MISC_GET_CLASS(obj)                 (G_TYPE_INSTANCE_GET_CLASS ((obj), JAW_TYPE_MISC, 
JawMiscClass))
-
-typedef struct _JawMisc                JawMisc;
-typedef struct _JawMiscClass   JawMiscClass;
-  
-struct _JawMisc
-{
-  AtkMisc parent;
-};
-
-GType jaw_misc_get_type (void);
-
-struct _JawMiscClass
-{
-  AtkMiscClass parent_class;
-};
-
 G_END_DECLS
 
 #endif


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