Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/lib


Modified Files:
        edje_main.c edje_message_queue.c 


Log Message:


cedric's ecore_job_init/shtudown patches.

===================================================================
RCS file: /cvs/e/e17/libs/edje/src/lib/edje_main.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- edje_main.c 8 Sep 2007 18:31:56 -0000       1.51
+++ edje_main.c 5 Oct 2007 05:12:37 -0000       1.52
@@ -4,6 +4,8 @@
 
 #include <time.h>
 
+#include <Ecore_Job.h>
+
 #include "Edje.h"
 #include "edje_private.h"
 
@@ -21,6 +23,7 @@
    initted++;
    if (initted == 1)
      {
+        ecore_job_init();
        srand(time(NULL));
        _edje_edd_setup();
        _edje_text_init();
@@ -40,6 +43,10 @@
    initted--;
    if (initted > 0) return initted;
 
+   if (_edje_timer)
+     ecore_animator_del(_edje_timer);
+   _edje_timer = NULL;
+
    _edje_file_cache_shutdown();
    _edje_message_shutdown();
    _edje_edd_free();
@@ -48,7 +55,8 @@
    _edje_text_class_members_free();
    _edje_text_class_hash_free();
    embryo_shutdown();
-
+   ecore_job_shutdown();
+   
    return 0;
 }
 
===================================================================
RCS file: /cvs/e/e17/libs/edje/src/lib/edje_message_queue.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- edje_message_queue.c        8 Sep 2007 18:31:56 -0000       1.30
+++ edje_message_queue.c        5 Oct 2007 05:12:37 -0000       1.31
@@ -124,7 +124,12 @@
 _edje_message_shutdown(void)
 {
    _edje_message_queue_clear();
+   if (job_loss_timer)
+     ecore_timer_del(job_loss_timer);
+   if (job)
+     ecore_job_del(job);
    job = NULL;
+   job_loss_timer = NULL;
 }
 
 void



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to