Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/engrave

Dir     : e17/libs/engrave/src/lib


Modified Files:
        engrave.y engrave_group.c engrave_group.h engrave_parse.c 


Log Message:
missed that one

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/engrave/src/lib/engrave.y,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- engrave.y   10 Nov 2004 20:04:38 -0000      1.8
+++ engrave.y   10 Nov 2004 20:33:21 -0000      1.9
@@ -392,7 +392,7 @@
                int i = $1;
                if ((i != 0) && (i != 1)) {
                        printf("Invalid boolean %d at line %d\n", i, 
engrave_lnum);
-                       i = 0;
+                       i = 0;
                }
                $$ = i;
        }
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/engrave/src/lib/engrave_group.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- engrave_group.c     24 Oct 2004 07:06:37 -0000      1.4
+++ engrave_group.c     10 Nov 2004 20:33:21 -0000      1.5
@@ -110,6 +110,19 @@
 }
 
 /**
+ * engrave_group_program_add - add the program to the group
+ * @param eg: The Engrave_Group to add the program too.
+ * @param ep: The Engrave_Program to add to the group.
+ *
+ * @return Returns no value.
+ */
+void
+engrave_group_program_add(Engrave_Group *eg, Engrave_Program *ep)
+{
+  eg->programs = evas_list_append(eg->programs, ep);
+}
+
+/**
  * engrave_group_part_last_get - retrieve the last part in the group.
  * @param eg: The Engrave_Group to retrieve the last part from.
  *
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/engrave/src/lib/engrave_group.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- engrave_group.h     24 Oct 2004 07:06:37 -0000      1.3
+++ engrave_group.h     10 Nov 2004 20:33:21 -0000      1.4
@@ -42,6 +42,8 @@
 Engrave_Group *engrave_group_new(void);
 void engrave_group_data_add(Engrave_Group *eg, Engrave_Data *ed);
 void engrave_group_part_add(Engrave_Group *eg, Engrave_Part *ep);
+void engrave_group_program_add(Engrave_Group *eg, Engrave_Program *ep);
+
 void engrave_group_script_set(Engrave_Group *eg, char *script);
 void engrave_group_name_set(Engrave_Group *eg, char *name);
 void engrave_group_min_size_set(Engrave_Group *eg, int w, int h);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/engrave/src/lib/engrave_parse.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- engrave_parse.c     24 Oct 2004 23:03:48 -0000      1.6
+++ engrave_parse.c     10 Nov 2004 20:33:21 -0000      1.7
@@ -762,8 +762,7 @@
 
   program = engrave_program_new();
   group = engrave_file_group_last_get(engrave_file);
-
-  group->programs = evas_list_append(group->programs, program);
+  engrave_group_program_add(group, program);
 }
 
 void




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to