Enlightenment CVS committal
Author : handyande
Project : e17
Module : apps/e
Dir : e17/apps/e/src/lib
Modified Files:
Makefile.am e_main.c
Log Message:
Fixups for bg_get - learning new IPC code
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 10 Jan 2005 05:07:48 -0000 1.3
+++ Makefile.am 1 Jun 2005 14:27:18 -0000 1.4
@@ -9,6 +9,8 @@
libe_la_SOURCES= \
e_main.c \
+e.h \
+../bin/e_ipc_codec.c \
e_private.h
libe_la_LIBADD = @ecore_libs@
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_main.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_main.c 31 May 2005 07:02:09 -0000 1.11
+++ e_main.c 1 Jun 2005 14:27:18 -0000 1.12
@@ -98,6 +98,7 @@
return 0;
}
+ /* FIXME */ e_ipc_codec_init();
/* setup e ipc service */
if (!_e_ipc_init(disp))
{
@@ -126,6 +127,7 @@
int
e_shutdown(void)
{
+ e_ipc_codec_shutdown();
_e_ipc_shutdown();
ecore_ipc_shutdown();
ecore_shutdown();
@@ -356,9 +358,14 @@
case E_IPC_OP_BG_GET_REPLY:
{
E_Response_Background_Get *res;
+ char *str = NULL;
res = calloc(1, sizeof(E_Response_Background_Get));
- res->file = e->data;
+ if (e->data)
+ {
+ e_ipc_codec_str_dec(e->data, e->size, &str);
+ res->file = str;
+ }
ecore_event_add(E_RESPONSE_BACKGROUND_GET, res, NULL, NULL);
}
break;
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs