Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_message_queue.c edje_util.c
Log Message:
a workaround for myseterious job loss...
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_message_queue.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- edje_message_queue.c 9 Dec 2004 05:49:34 -0000 1.14
+++ edje_message_queue.c 13 Jan 2005 15:42:56 -0000 1.15
@@ -2,7 +2,7 @@
#include <Ecore_Job.h>
#include "edje_private.h"
-Ecore_Job *job = NULL;
+static Ecore_Job *job = NULL;
static Evas_List *msgq = NULL;
static Evas_List *tmp_msgq = NULL;
@@ -88,8 +88,8 @@
static void
_edje_job(void *data)
{
- _edje_message_queue_process();
job = NULL;
+ _edje_message_queue_process();
}
void
@@ -253,7 +253,13 @@
int i;
unsigned char *msg = NULL;
- if (!job) job = ecore_job_add(_edje_job, NULL);
+/* FIXME: for some reason we lose a job event along the way when in e17 */
+/* we delete a border */
+/* if (!job) */
+ {
+/* job = */
+ ecore_job_add(_edje_job, NULL);
+ }
em = _edje_message_new(ed, queue, type, id);
if (!em) return;
switch (em->type)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_util.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- edje_util.c 13 Jan 2005 06:29:52 -0000 1.51
+++ edje_util.c 13 Jan 2005 15:42:56 -0000 1.52
@@ -1528,7 +1528,6 @@
int
_edje_thaw(Edje *ed)
{
-// printf("THAW %i\n", ed->freeze);
ed->freeze--;
if (ed->freeze < 0)
{
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs