[java-atk-wrapper] Fix gcc warnings



commit d6785ee22ed2238057570b31a175e63a791d6407
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Sat Jun 1 20:27:07 2019 +0200

    Fix gcc warnings

 jni/src/jawaction.c       |  2 +-
 jni/src/jawcomponent.c    |  2 +-
 jni/src/jaweditabletext.c |  2 +-
 jni/src/jawhypertext.c    |  2 +-
 jni/src/jawimage.c        |  2 +-
 jni/src/jawimpl.c         |  2 +-
 jni/src/jawimpl.h         | 20 ++++++++++----------
 jni/src/jawselection.c    |  2 +-
 jni/src/jawtable.c        |  2 +-
 jni/src/jawtablecell.c    |  2 +-
 jni/src/jawtext.c         |  2 +-
 jni/src/jawvalue.c        |  2 +-
 12 files changed, 21 insertions(+), 21 deletions(-)
---
diff --git a/jni/src/jawaction.c b/jni/src/jawaction.c
index 7c963da..ab3610c 100644
--- a/jni/src/jawaction.c
+++ b/jni/src/jawaction.c
@@ -42,7 +42,7 @@ typedef struct _ActionData {
 } ActionData;
 
 void
-jaw_action_interface_init (AtkActionIface *iface)
+jaw_action_interface_init (AtkActionIface *iface, gpointer data)
 {
   iface->do_action = jaw_action_do_action;
   iface->get_n_actions = jaw_action_get_n_actions;
diff --git a/jni/src/jawcomponent.c b/jni/src/jawcomponent.c
index 9a23f7b..8c7d54e 100644
--- a/jni/src/jawcomponent.c
+++ b/jni/src/jawcomponent.c
@@ -57,7 +57,7 @@ typedef struct _ComponentData {
 } ComponentData;
 
 void
-jaw_component_interface_init (AtkComponentIface *iface)
+jaw_component_interface_init (AtkComponentIface *iface, gpointer data)
 {
   iface->contains = jaw_component_contains;
   iface->ref_accessible_at_point = jaw_component_ref_accessible_at_point;
diff --git a/jni/src/jaweditabletext.c b/jni/src/jaweditabletext.c
index bf11bcf..3b351ba 100644
--- a/jni/src/jaweditabletext.c
+++ b/jni/src/jaweditabletext.c
@@ -51,7 +51,7 @@ typedef struct _EditableTextData {
 }EditableTextData;
 
 void
-jaw_editable_text_interface_init (AtkEditableTextIface *iface)
+jaw_editable_text_interface_init (AtkEditableTextIface *iface, gpointer data)
 {
   iface->set_text_contents = jaw_editable_text_set_text_contents;
   iface->insert_text = jaw_editable_text_insert_text;
diff --git a/jni/src/jawhypertext.c b/jni/src/jawhypertext.c
index 5d9ed31..9c35b97 100644
--- a/jni/src/jawhypertext.c
+++ b/jni/src/jawhypertext.c
@@ -35,7 +35,7 @@ typedef struct _HypertextData {
 } HypertextData;
 
 void
-jaw_hypertext_interface_init (AtkHypertextIface *iface)
+jaw_hypertext_interface_init (AtkHypertextIface *iface, gpointer data)
 {
        iface->get_link = jaw_hypertext_get_link;
        iface->get_n_links = jaw_hypertext_get_n_links;
diff --git a/jni/src/jawimage.c b/jni/src/jawimage.c
index 069cdb3..bf25dec 100644
--- a/jni/src/jawimage.c
+++ b/jni/src/jawimage.c
@@ -38,7 +38,7 @@ typedef struct _ImageData {
 } ImageData;
 
 void
-jaw_image_interface_init (AtkImageIface *iface)
+jaw_image_interface_init (AtkImageIface *iface, gpointer data)
 {
        iface->get_image_position = jaw_image_get_image_position;
        iface->get_image_description = jaw_image_get_image_description;
diff --git a/jni/src/jawimpl.c b/jni/src/jawimpl.c
index 943d73d..11272ce 100644
--- a/jni/src/jawimpl.c
+++ b/jni/src/jawimpl.c
@@ -335,7 +335,7 @@ jaw_impl_find_instance (JNIEnv *jniEnv, jobject ac)
 }
 
 static void
-jaw_impl_class_intern_init (gpointer klass)
+jaw_impl_class_intern_init (gpointer klass, gpointer data)
 {
   if (jaw_impl_parent_class == NULL)
   {
diff --git a/jni/src/jawimpl.h b/jni/src/jawimpl.h
index fbbf207..2a960c4 100644
--- a/jni/src/jawimpl.h
+++ b/jni/src/jawimpl.h
@@ -64,43 +64,43 @@ struct _JawImplClass
        JawObjectClass parent_class;
 };
 
-extern void jaw_action_interface_init(AtkActionIface*);
+extern void jaw_action_interface_init(AtkActionIface*, gpointer);
 extern gpointer jaw_action_data_init(jobject);
 extern void jaw_action_data_finalize(gpointer);
 
-extern void jaw_component_interface_init(AtkComponentIface*);
+extern void jaw_component_interface_init(AtkComponentIface*, gpointer);
 extern gpointer jaw_component_data_init(jobject);
 extern void jaw_component_data_finalize(gpointer);
 
-extern void jaw_editable_text_interface_init(AtkEditableTextIface*);
+extern void jaw_editable_text_interface_init(AtkEditableTextIface*, gpointer);
 extern gpointer jaw_editable_text_data_init(jobject);
 extern void jaw_editable_text_data_finalize (gpointer);
 
-extern void jaw_hypertext_interface_init(AtkHypertextIface*);
+extern void jaw_hypertext_interface_init(AtkHypertextIface*, gpointer);
 extern gpointer jaw_hypertext_data_init(jobject);
 extern void jaw_hypertext_data_finalize(gpointer);
 
-extern void jaw_image_interface_init(AtkImageIface*);
+extern void jaw_image_interface_init(AtkImageIface*, gpointer);
 extern gpointer jaw_image_data_init(jobject);
 extern void jaw_image_data_finalize(gpointer);
 
-extern void jaw_selection_interface_init(AtkSelectionIface*);
+extern void jaw_selection_interface_init(AtkSelectionIface*, gpointer);
 extern gpointer jaw_selection_data_init(jobject);
 extern void jaw_selection_data_finalize(gpointer);
 
-extern void jaw_table_interface_init (AtkTableIface*);
+extern void jaw_table_interface_init (AtkTableIface*, gpointer);
 extern gpointer jaw_table_data_init (jobject);
 extern void jaw_table_data_finalize (gpointer);
 
-extern void jaw_table_cell_interface_init (AtkTableCellIface*);
+extern void jaw_table_cell_interface_init (AtkTableCellIface*, gpointer);
 extern gpointer jaw_table_cell_data_init (jobject ac);
 extern void jaw_table_cell_data_finalize (gpointer);
 
-extern void jaw_text_interface_init(AtkTextIface*);
+extern void jaw_text_interface_init(AtkTextIface*, gpointer);
 extern gpointer        jaw_text_data_init(jobject);
 extern void jaw_text_data_finalize(gpointer);
 
-extern void jaw_value_interface_init (AtkValueIface*);
+extern void jaw_value_interface_init (AtkValueIface*, gpointer);
 extern gpointer jaw_value_data_init (jobject);
 extern void jaw_value_data_finalize (gpointer);
 
diff --git a/jni/src/jawselection.c b/jni/src/jawselection.c
index 55f9605..95dae4e 100644
--- a/jni/src/jawselection.c
+++ b/jni/src/jawselection.c
@@ -39,7 +39,7 @@ typedef struct _SelectionData {
 } SelectionData;
 
 void
-jaw_selection_interface_init (AtkSelectionIface *iface)
+jaw_selection_interface_init (AtkSelectionIface *iface, gpointer data)
 {
        iface->add_selection = jaw_selection_add_selection;
        iface->clear_selection = jaw_selection_clear_selection;
diff --git a/jni/src/jawtable.c b/jni/src/jawtable.c
index 09220ff..3b02382 100644
--- a/jni/src/jawtable.c
+++ b/jni/src/jawtable.c
@@ -61,7 +61,7 @@ typedef struct _TableData {
 } TableData;
 
 void
-jaw_table_interface_init (AtkTableIface *iface)
+jaw_table_interface_init (AtkTableIface *iface, gpointer data)
 {
   iface->ref_at = jaw_table_ref_at;
   iface->get_column_at_index = jaw_table_get_column_at_index;
diff --git a/jni/src/jawtablecell.c b/jni/src/jawtablecell.c
index 9de18c8..ca0fc9e 100644
--- a/jni/src/jawtablecell.c
+++ b/jni/src/jawtablecell.c
@@ -39,7 +39,7 @@ typedef struct _TableCellData {
 } TableCellData;
 
 void
-jaw_table_cell_interface_init (AtkTableCellIface *iface)
+jaw_table_cell_interface_init (AtkTableCellIface *iface, gpointer data)
 {
   iface->get_table = jaw_table_cell_get_table;
   iface->get_position = jaw_table_cell_get_position;
diff --git a/jni/src/jawtext.c b/jni/src/jawtext.c
index 60e31d0..2546e82 100644
--- a/jni/src/jawtext.c
+++ b/jni/src/jawtext.c
@@ -83,7 +83,7 @@ typedef struct _TextData {
 }TextData;
 
 void
-jaw_text_interface_init (AtkTextIface *iface)
+jaw_text_interface_init (AtkTextIface *iface, gpointer data)
 {
   iface->get_text = jaw_text_get_text;
   iface->get_character_at_offset = jaw_text_get_character_at_offset;
diff --git a/jni/src/jawvalue.c b/jni/src/jawvalue.c
index 4cc86c2..1a997fc 100644
--- a/jni/src/jawvalue.c
+++ b/jni/src/jawvalue.c
@@ -37,7 +37,7 @@ typedef struct _ValueData {
 } ValueData;
 
 void
-jaw_value_interface_init (AtkValueIface *iface)
+jaw_value_interface_init (AtkValueIface *iface, gpointer data)
 {
   iface->get_current_value = jaw_value_get_current_value;
   iface->set_value = jaw_value_set_value;


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