Enlightenment CVS committal
Author : rephorm
Project : e17
Module : proto
Dir : e17/proto/e_dbus/src/lib/dbus
Modified Files:
e_dbus_object.c
Log Message:
don't leak
remove aclocal.m4 from cvs
add test client
===================================================================
RCS file: /cvs/e/e17/proto/e_dbus/src/lib/dbus/e_dbus_object.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_dbus_object.c 22 Mar 2007 07:15:23 -0000 1.6
+++ e_dbus_object.c 22 Mar 2007 19:52:59 -0000 1.7
@@ -83,7 +83,7 @@
obj->introspection_data = strdup(ecore_strbuf_string_get(buf));
ecore_strbuf_free(buf);
}
- printf("XML: \n\n%s\n\n", obj->introspection_data);
+ //printf("XML: \n\n%s\n\n", obj->introspection_data);
ret = dbus_message_new_method_return(msg);
dbus_message_append_args(ret, DBUS_TYPE_STRING, &(obj->introspection_data),
DBUS_TYPE_INVALID);
@@ -306,7 +306,7 @@
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
if (m->signature && !dbus_message_has_signature(message, m->signature))
- reply = dbus_message_new_error_printf(message, "InvalidSignature",
"Expected signature: %s", m->signature);
+ reply = dbus_message_new_error_printf(message,
"org.enlightenment.InvalidSignature", "Expected signature: %s", m->signature);
else
reply = m->func(obj, message);
@@ -405,11 +405,9 @@
method->reply_signature[0] &&
dbus_signature_validate(method->reply_signature, NULL))
{
- printf("valid reply sig: '%s'\n", method->reply_signature);
dbus_signature_iter_init(&iter, method->reply_signature);
while ((type = dbus_signature_iter_get_signature(&iter)))
{
- printf("got type: '%s'\n", type);
_introspect_arg_append(buf, type, "out", level);
dbus_free(type);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs