From f3b07f39e3e1e8048fd70aa60fb0d076e96ad9cc Mon Sep 17 00:00:00 2001 From: billh Date: Tue, 25 Sep 2001 16:49:48 +0000 Subject: [PATCH] Changes to argc/argv params in calls to gtk_module_init and bonobo_init, in bridge.c git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@62 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- ChangeLog | 114 +++++++++++++++++++++++++++++++++++++++++++++++----- at-bridge/bridge.c | 8 ++-- atk-bridge/bridge.c | 8 ++-- 3 files changed, 112 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8d3cc54..af7fa36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,14 +1,96 @@ -<2001-09-04 Bill Haneman +<2001-09-25 Bill Haneman + * at-bridge/bridge.c: + applied patch from Marc to build and run + against new glib and gtk+ (seemed like a change + to bonobo_init signature was made ?) +<2001-09-12 Marc Mulcahy + * cspi/Makefile.am: + Added spi-util.c. + + * cspi/spi-util.c: + Fixed typo + + * cspi/spi.c: + Added interface implementation c files to list of + includes so they are included in libcspi. + + * cspi/spi.h: + Changed prototype of AccessibleAction_doAction to return a + boolean. + Changed prototype of AccessibleTable_getCaption to + return an Accessible. + Changed prototype of AccessibleTable_getSelectedRows + and AccessibleTable_getSelectedColumns to + return a long (returns the number of selected rows + or columns respectively). + Changed name of AccessibleText_refRunAttributes to + AccessibleText_getAttributes. + Changed prototype of AccessibleText_getCharacterExtents to + return a void rather than a boolean. + Added support for a AccessibleCoordType parameter + specifying what type of coordinates are desired. + Added an AccessibleCordType parameter to + AccessibleText_getPointAtOffset. + * cspi/spi_accessible.c: - Added method Accessible_Role_getName(), - and requisite string array (role_names). - Added conversion string_from_corba_strin() call - to Accessible_getName and _getDescription. - * libspi/accessible.c: - Added implementation for Accessible_getRole() - * test/simple-at.c: - Added festival support, used if environment variable - FESTIVAL is set. + Added code to return the outstanding interfaces from + Accessible_queryInterface. + + * cspi/spi_action.c: + Fixed typos. + Corrected call to getNActions to call the c binding + for an attribute. + + * cspi/spi_editabletext.c: + Fixed typos. + Changed name from setRunAttributes to setAttributes. + + * cspi/spi_hyperlink.c: + Fixed typos. + Changed call to getNAnchors to correctly call the c + binding for an attribute. + + * cspi/spi_hypertext.c: + Fixed typos. + Changed getImageDescription to correctly call the + binding for an attribute. + + * cspi/spi_selection.c: + Changed getNSelectedChildren to correctly call the c + binding for the attribute. + Changed refSelectedChild to getSelectedChild. + + * cspi/spi_table.c: + Fixed typos. + Changed getCaption to return an Accessible. + Fixed calls which retrieve attributes. + Changed refAt to getAccessibleAt. + Changed getNSelectedRows and getNSelectedColumns to + return longs. + + * cspi/spi_text.c: + Changed getCharacterExtents and getPointAtOffset to accept an + AccessibleCoordType. + Fixed typos. + Changed calls which retrieve attributes. + Changed refRunAttributes to getAttributes. + + * cspi/spi_value.c: + Fixed typos. + + * idl/Hyperlink.idl: + Changed n_anchors attribute to nAnchors to keep naming + convention consistent. + + * idl/Table.idl: + Made Table inherit from Bonobo::Unknown. + Added nSelectedColumns and nSelectedRows attributes. + + * idl/Value.idl: + Made Value inherit from Bonobo::Unknown. + + * libspi/hyperlink.c: + Change for nAnchors attributte name change. <2001-09-12 Marc Mulcahy * cspi/Makefile.am: @@ -105,6 +187,18 @@ implementations-- made server implementations own AtkObject pointers rather than their respective AtkInterrface pointers to fix refcounting. AtkHyperlink is still broken. + +<2001-09-04 Bill Haneman + * cspi/spi_accessible.c: + Added method Accessible_Role_getName(), + and requisite string array (role_names). + Added conversion string_from_corba_strin() call + to Accessible_getName and _getDescription. + * libspi/accessible.c: + Added implementation for Accessible_getRole() + * test/simple-at.c: + Added festival support, used if environment variable + FESTIVAL is set. 2001-09-04 Bill Haneman diff --git a/at-bridge/bridge.c b/at-bridge/bridge.c index 0db17aa..58fc363 100644 --- a/at-bridge/bridge.c +++ b/at-bridge/bridge.c @@ -44,11 +44,11 @@ static gboolean bridge_register_app (gpointer p); static void bridge_focus_tracker (AtkObject *object); int -gtk_module_init(gint argc, char* argv[]) +gtk_module_init(gint *argc, gchar **argv[]) { ArgStruct *args = (ArgStruct *) g_new0(ArgStruct, 1); - args->c = argc; - args->v = argv; + args->c = *argc; + args->v = *argv; g_idle_add (bridge_register_app, args); } @@ -64,7 +64,7 @@ bridge_register_app (gpointer gp) CORBA_exception_init(&ev); - if (!bonobo_init (&(args->c), args->v)) + if (!bonobo_init (&(args->c), &args->v)) { g_error ("Could not initialize Bonobo"); } diff --git a/atk-bridge/bridge.c b/atk-bridge/bridge.c index 0db17aa..58fc363 100644 --- a/atk-bridge/bridge.c +++ b/atk-bridge/bridge.c @@ -44,11 +44,11 @@ static gboolean bridge_register_app (gpointer p); static void bridge_focus_tracker (AtkObject *object); int -gtk_module_init(gint argc, char* argv[]) +gtk_module_init(gint *argc, gchar **argv[]) { ArgStruct *args = (ArgStruct *) g_new0(ArgStruct, 1); - args->c = argc; - args->v = argv; + args->c = *argc; + args->v = *argv; g_idle_add (bridge_register_app, args); } @@ -64,7 +64,7 @@ bridge_register_app (gpointer gp) CORBA_exception_init(&ev); - if (!bonobo_init (&(args->c), args->v)) + if (!bonobo_init (&(args->c), &args->v)) { g_error ("Could not initialize Bonobo"); } -- 2.7.4