Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        aclass.c 


Log Message:
Fix actions with multiple commands.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/aclass.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- aclass.c    28 Dec 2004 23:46:43 -0000      1.2
+++ aclass.c    31 Dec 2004 08:49:12 -0000      1.3
@@ -827,34 +827,22 @@
    return (aa) ? aa->modifiers : 0;
 }
 
-static int
+static void
 handleAction(EWin * ewin, ActionType * action)
 {
-   /* This function will handle any type of action that is passed into
-    * it.  ALL internal events should be passed through this function.
-    * No exceptions.  --Mandrake (02/26/98)
-    */
-
-   int                 error;
-
-   EDBUG(5, "handleAction");
-
    SetContextEwin(ewin);
-   error = EFunc(action->params);
+   EFunc(action->params);
    SetContextEwin(NULL);
 
    /* Did we just hose ourselves? if so, we'd best not stick around here */
    if (mode_action_destroy)
-      EDBUG_RETURN(0);
+      return;
 
    /* If there is another action in this series, (now that
     * we're sure we didn't already die) perform it
     */
-   if (!error)
-      if (action->next)
-        error = handleAction(ewin, action->next);
-
-   EDBUG_RETURN(error);
+   if (action->next)
+      handleAction(ewin, action->next);
 }
 
 int




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to