AtkAction.c AtkAction.h:
authorMarc Mulcahy <marcm@src.gnome.org>
Thu, 23 Aug 2001 04:32:08 +0000 (04:32 +0000)
committerMarc Mulcahy <marcm@src.gnome.org>
Thu, 23 Aug 2001 04:32:08 +0000 (04:32 +0000)
Made atk_action_do_action return a gboolean as the class member of AtkActionIface does.

.cvsignore:
Added atk.spec

.cvsignore
ChangeLog
atk/atkaction.c
atk/atkaction.h

index 8be6e4a..8938fce 100644 (file)
@@ -14,3 +14,4 @@ install-sh
 mkinstalldirs
 atk-uninstalled.pc
 sgml
+atk.spec
index 7a08c03..d591b19 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+<2001-08-22  Marc Mulcahy <marc.mulcahy@sun.com>
+       AtkAction.c AtkAction.h:
+               Made atk_action_do_action return a gboolean as the class member of AtkActionIface does.
+
+       .cvsignore:
+               Added atk.spec
+
+
 2001-08-20  Padraig O'Briain  <padraig.obriain@sun.com>
 
        * docs/tmpl/atkimage.sgml atk/atkimage.h:
index 071396e..7962df4 100755 (executable)
@@ -46,18 +46,20 @@ atk_action_get_type ()
  *
  * Perform the specified action on the object.
  **/
-void
+gboolean
 atk_action_do_action (AtkAction *obj,
                       gint      i)
 {
   AtkActionIface *iface;
 
-  g_return_if_fail (ATK_IS_ACTION (obj));
+  g_return_val_if_fail (ATK_IS_ACTION (obj), FALSE);
 
   iface = ATK_ACTION_GET_IFACE (obj);
 
   if (iface->do_action)
-    (iface->do_action) (obj, i);
+    return (iface->do_action) (obj, i);
+  else
+    return FALSE;
 }
 
 /**
index 5237ec1..d25af79 100755 (executable)
@@ -77,7 +77,7 @@ GType atk_action_get_type ();
  * provided in a support library
  */
 
-void   atk_action_do_action                (AtkAction         *action,
+gboolean   atk_action_do_action                (AtkAction         *action,
                                             gint              i);
 gint   atk_action_get_n_actions            (AtkAction *action);
 G_CONST_RETURN gchar* atk_action_get_description  (AtkAction         *action,