[java-atk-wrapper] unlock value from pointer



commit e00a9b5412deba0705c396bc1a857cfd278965df
Author: Magdalen Berns <m berns thismagpie com>
Date:   Mon Nov 17 20:58:53 2014 +0000

    unlock value from pointer
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740286

 jni/src/jawhypertext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jni/src/jawhypertext.c b/jni/src/jawhypertext.c
index 9890876..d54c175 100644
--- a/jni/src/jawhypertext.c
+++ b/jni/src/jawhypertext.c
@@ -100,7 +100,7 @@ jaw_hypertext_get_link (AtkHypertext *hypertext, gint link_index)
        }
 
        JawHyperlink *jaw_hyperlink = jaw_hyperlink_new(jhyperlink);
-       g_hash_table_insert(data->link_table, (gpointer)link_index, (gpointer)jaw_hyperlink);
+       g_hash_table_insert(data->link_table, (gpointer)&link_index, (gpointer)jaw_hyperlink);
 
        return ATK_HYPERLINK(jaw_hyperlink);
 }


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