[java-atk-wrapper] Fixed GNOME bugzilla bug 588879
- From: Ke Wang <kewang src gnome org>
- To: svn-commits-list gnome org
- Subject: [java-atk-wrapper] Fixed GNOME bugzilla bug 588879
- Date: Sat, 25 Jul 2009 06:25:26 +0000 (UTC)
commit ce7a420a22258a64cc7cde9fa06b151d88ddad8d
Author: Ke Wang <ke wang sun com>
Date: Sat Jul 25 14:24:03 2009 +0800
Fixed GNOME bugzilla bug 588879
jni/src/jawhyperlink.h | 2 +-
jni/src/jawhypertext.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jni/src/jawhyperlink.h b/jni/src/jawhyperlink.h
index c210f25..7ed6059 100644
--- a/jni/src/jawhyperlink.h
+++ b/jni/src/jawhyperlink.h
@@ -25,7 +25,7 @@
G_BEGIN_DECLS
-#define JAW_TYPE_HYPERLINK (jaw_object_get_type ())
+#define JAW_TYPE_HYPERLINK (jaw_hyperlink_get_type ())
#define JAW_HYPERLINK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), JAW_TYPE_HYPERLINK, JawHyperlink))
#define JAW_HYPERLINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), JAW_TYPE_HYPERLINK, JawHyperlinkClass))
#define JAW_IS_HYPERLINK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), JAW_TYPE_HYPERLINK))
diff --git a/jni/src/jawhypertext.c b/jni/src/jawhypertext.c
index ed538a0..9890876 100644
--- a/jni/src/jawhypertext.c
+++ b/jni/src/jawhypertext.c
@@ -114,7 +114,7 @@ jaw_hypertext_get_n_links (AtkHypertext *hypertext)
JNIEnv *jniEnv = jaw_util_get_jni_env();
jclass classAtkHypertext = (*jniEnv)->FindClass(jniEnv, "org/GNOME/Accessibility/AtkHypertext");
- jmethodID jmid = (*jniEnv)->GetMethodID(jniEnv, classAtkHypertext, "get_link", "()I");
+ jmethodID jmid = (*jniEnv)->GetMethodID(jniEnv, classAtkHypertext, "get_n_links", "()I");
return (gint)(*jniEnv)->CallIntMethod(jniEnv, atk_hypertext, jmid);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]