logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

[patch] add ability to associate metadata with errors, add async tests: msg#00216

Subject: [patch] add ability to associate metadata with errors, add async tests
Hi,

So Ross sent me this patch which adds some tests for the async server
method stuff, and it depended on the dbus_g_error_new patch he sent
earlier.  

The more I looked at it, the more unhappy I was with the whole
dbus_set_g_error thing on the service end.  So here's a patch (which
includes Ross' async tests) that allows you to associate a default
interface and a GEnum of strings with a GError domain and codes.

Later when we have GObject introspection you won't need to use this
function at all.

This means dbus_set_g_error goes away in favor of our old friend
g_set_error, and we don't need dbus_g_error_new.

Attachment: dbus-glib-errors-2.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part


<Prev in Thread] Current Thread [Next in Thread>