Enlightenment CVS committal Author : englebass Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/lib Modified Files: edje_edit.c Log Message: Fix compiler warnings. =================================================================== RCS file: /cvs/e/e17/libs/edje/src/lib/edje_edit.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- edje_edit.c 14 Jun 2008 01:13:16 -0000 1.17 +++ edje_edit.c 19 Jun 2008 12:39:58 -0000 1.18 @@ -3327,11 +3327,9 @@ static char *types[] = {"NONE", "RECT", "TEXT", "IMAGE", "SWALLOW", "TEXTBLOCK", "GRADIENT", "GROUP"}; -static int +static void _edje_generate_source_of_part(Evas_Object *obj, const char *part, FILE *f) { - int i; - fprintf(f, I3"part {\n"); fprintf(f, I4"name: \"%s\";\n", part); fprintf(f, I4"type: %s;\n", types[edje_edit_part_type_get(obj, part)]); @@ -3345,7 +3343,7 @@ fprintf(f, I3"}\n");//part } -static int +static void _edje_generate_source_of_group(Edje *ed, const char *group, FILE *f) { Evas_Object *obj; @@ -3353,7 +3351,7 @@ int w, h; obj = edje_object_add(ed->evas); - if (!edje_object_file_set(obj, ed->file->path, group)) return 0; + if (!edje_object_file_set(obj, ed->file->path, group)) return; fprintf(f, I1"group {\n"); fprintf(f, I2"name: \"%s\";\n", group); ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs