Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/lib


Modified Files:
        edje_var.c 


Log Message:


fix edje embryo scripts.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_var.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- edje_var.c  24 Nov 2005 03:23:01 -0000      1.17
+++ edje_var.c  29 Nov 2005 07:27:57 -0000      1.18
@@ -167,7 +167,9 @@
    if (ed->var_pool) return;
    ed->var_pool = calloc(1, sizeof(Edje_Var_Pool));
    if (!ed->var_pool) return;
+   embryo_program_vm_push(ed->collection->script);
    ed->var_pool->size = 
embryo_program_variable_count_get(ed->collection->script);
+   embryo_program_vm_pop(ed->collection->script);
    ed->var_pool->vars = calloc(1, sizeof(Edje_Var) * ed->var_pool->size);
 }
 
@@ -983,14 +985,14 @@
    et = _edje_var_timer_find(ed, id);
    if (!et)
      {
-   fprintf(stderr,
-        "*** EDJE ERROR: Cannot find timer to cancel\n"
-        "*** NAUGHTY PROGRAMMER!!!\n"
-        "*** SPANK SPANK SPANK!!!\n"
-        "*** Now go fix your code. Tut tut tut!\n"
-        "\n");
-   if (getenv("EDJE_ERROR_ABORT")) abort();
-   return;
+       fprintf(stderr,
+               "*** EDJE ERROR: Cannot find timer to cancel\n"
+               "*** NAUGHTY PROGRAMMER!!!\n"
+               "*** SPANK SPANK SPANK!!!\n"
+               "*** Now go fix your code. Tut tut tut!\n"
+               "\n");
+       if (getenv("EDJE_ERROR_ABORT")) abort();
+       return;
      }
 
    ed->var_pool->timers = evas_list_remove(ed->var_pool->timers, et);
@@ -1048,14 +1050,14 @@
    ea = _edje_var_anim_find(ed, id);
    if (!ea)
      {
-   fprintf(stderr,
-        "*** EDJE ERROR: Cannot find animator to cancel\n"
-        "*** NAUGHTY PROGRAMMER!!!\n"
-        "*** SPANK SPANK SPANK!!!\n"
-        "*** Now go fix your code. Tut tut tut!\n"
-        "\n");
-   if (getenv("EDJE_ERROR_ABORT")) abort();
-   return;
+       fprintf(stderr,
+               "*** EDJE ERROR: Cannot find animator to cancel\n"
+               "*** NAUGHTY PROGRAMMER!!!\n"
+               "*** SPANK SPANK SPANK!!!\n"
+               "*** Now go fix your code. Tut tut tut!\n"
+               "\n");
+       if (getenv("EDJE_ERROR_ABORT")) abort();
+       return;
      }
 
    if (ed->var_pool->walking_list)




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to