Added API to IDL and cspi (but not libspi, yet) for AccessibleComponent
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 4 Dec 2001 00:24:35 +0000 (00:24 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 4 Dec 2001 00:24:35 +0000 (00:24 +0000)
Layer and MDI Z-Order (see recent additions to ATK).
Changed typedef 'boolean' to 'SPIBoolean', to avoid C++ keyword clashes,
in cspi.

git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@129 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
at-bridge/bridge.c
atk-bridge/bridge.c

index 7f8f671..90db9f4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,34 @@
+2001-12-03  Bill Haneman  <bill.haneman@sun.com>
+
+        * idl/Component.idl:
+       Added two methods, getLayer () and getMDIZOrder (), to reflect
+       the new ATK methods atk_object_get_layer and
+       atk_object_get_mdi_z_order. (Which arguably should be part of the
+       AtkComponent API and AtkObject).  Also added an enum,
+       ComponentLayer, for the first method's return value.
+
+       * cspi/spi_component.c:
+       * cspi/spi.h:
+       Added cspi binding methods for above, 
+       AccessibleComponent_getLayer() and
+       AccessibleComponent_getMDIZOrder().
+       Added cspi enum 'AccessibleComponentLayer'.
+
+       * docs/reference/cspi/at-spi-cspi-sections.txt:
+       Added above methods to docs.
+
+       * cspi/spi-impl.h:
+       * cspi/spi*.[ch]:
+       Changed typedef for 'boolean' type (and all references to it) to
+       SPIBoolean, to avoid keyword clashes with C++.
+
+       * test/simple-at.c:
+       Changed usages of 'boolean' to SPIBoolean.
+
+       * test/keysynth-demo.c:
+       Changed usages of 'boolean' to 'gboolean' (since this is a gnome
+       app), except where SPIBoolean is required by the callbacks API.
+       
 2001-12-02  Bill Haneman  <bill.haneman@sun.com>
 
        * cspi/spi_registry.c:
index e1ca88c..ba03e8d 100644 (file)
@@ -73,7 +73,7 @@ gtk_module_init(gint *argc, gchar **argv[])
   ArgStruct *args = (ArgStruct *) g_new0(ArgStruct, 1);
   args->c = *argc;
   args->v = *argv;
-  g_idle_add (bridge_register_app, args);
+  bridge_register_app (args);
   g_atexit (bridge_exit_func);
 }
 
index e1ca88c..ba03e8d 100644 (file)
@@ -73,7 +73,7 @@ gtk_module_init(gint *argc, gchar **argv[])
   ArgStruct *args = (ArgStruct *) g_new0(ArgStruct, 1);
   args->c = *argc;
   args->v = *argv;
-  g_idle_add (bridge_register_app, args);
+  bridge_register_app (args);
   g_atexit (bridge_exit_func);
 }