e_dbus: better error and reference handling.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Oct 2008 07:11:42 +0000 (07:11 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Oct 2008 07:11:42 +0000 (07:11 +0000)
commit89efba8e355d3fe82db11eefbc2b4723334c6c60
treeaa3c4e0f15bd8bc3d8f8bf4364b7a9ed7645ade5
parent45f0780dc71f043679041b12e949589736b5854e
e_dbus: better error and reference handling.

This patch does a refactor of e_dbus_methods and e_dbus_interfaces so
these methods return a pending call that can be canceled. It will also
print out possible errors and will unref the message after usage.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@36579 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/dbus/E_DBus.h
src/lib/dbus/e_dbus_interfaces.c
src/lib/dbus/e_dbus_message.c
src/lib/dbus/e_dbus_methods.c