[java-atk-wrapper/wip] JNI: Create jaw_object_initialize
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper/wip] JNI: Create jaw_object_initialize
- Date: Sun, 21 Jun 2015 17:52:52 +0000 (UTC)
commit 6ee2e71fcc58301074a46f8ca20b8b0cc7e2061c
Author: Magdalen Berns <m berns thismagpie com>
Date: Sun Jun 21 18:48:52 2015 +0100
JNI: Create jaw_object_initialize
Patch 7ec03a7 does not apply
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=750589
jni/src/jawobject.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/jni/src/jawobject.c b/jni/src/jawobject.c
index a55b333..e0ef2cd 100644
--- a/jni/src/jawobject.c
+++ b/jni/src/jawobject.c
@@ -26,6 +26,7 @@
static void jaw_object_class_init(JawObjectClass *klass);
static void jaw_object_init(JawObject *object);
+static void jaw_object_initialize(AtkObject *jaw_obj, gpointer data);
static void jaw_object_dispose(GObject *gobject);
static void jaw_object_finalize(GObject *gobject);
@@ -90,6 +91,7 @@ jaw_object_class_init (JawObjectClass *klass)
atk_class->get_layer = NULL;
atk_class->get_mdi_zorder = NULL;
atk_class->ref_state_set = jaw_object_ref_state_set;
+ atk_class->initialize = jaw_object_initialize;
jaw_window_signals[ACTIVATE] = jaw_window_add_signal ("activate", klass);
jaw_window_signals[CREATE] = jaw_window_add_signal ("create", klass);
@@ -104,6 +106,12 @@ jaw_object_class_init (JawObjectClass *klass)
klass->get_interface_data = NULL;
}
+static void
+jaw_object_initialize(AtkObject *atk_obj, gpointer data)
+{
+ ATK_OBJECT_CLASS (jaw_object_parent_class)->initialize(atk_obj, data);
+}
+
gpointer
jaw_object_get_interface_data (JawObject *jaw_obj, guint iface)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]