gio: Add g_async_result_legacy_propagate_error()
authorDan Winship <danw@gnome.org>
Thu, 10 May 2012 13:00:45 +0000 (09:00 -0400)
committerDan Winship <danw@gnome.org>
Tue, 10 Jul 2012 14:49:14 +0000 (10:49 -0400)
commitf8532a13e2054e649f75ca2a58e01604be05549e
treec7e24a95e32e9ab944bcf9f172bd937af466cc42
parent538b2f106de78b7dfeac2a98f3d5594ed0ed2ade
gio: Add g_async_result_legacy_propagate_error()

Finish deprecating the "handle GSimpleAsyncResult errors in the
wrapper function" idiom (and protect against future GSimpleAsyncResult
deprecation warnings) by adding a "legacy" GAsyncResult method
to do it in those classes/methods where it had been traditionally
done.

(This applies only to wrapper methods; in cases where an _async
vmethod explicitly uses GSimpleAsyncResult, its corresponding _finish
vmethod still uses g_simple_async_result_propagate_error.)

https://bugzilla.gnome.org/show_bug.cgi?id=667375
https://bugzilla.gnome.org/show_bug.cgi?id=661767
19 files changed:
docs/reference/gio/gio-sections.txt
gio/gasyncinitable.c
gio/gasyncresult.c
gio/gasyncresult.h
gio/gbufferedinputstream.c
gio/gdrive.c
gio/gfile.c
gio/gfileenumerator.c
gio/gfileinputstream.c
gio/gfileiostream.c
gio/gfileoutputstream.c
gio/ginputstream.c
gio/gio.symbols
gio/giostream.c
gio/gloadableicon.c
gio/gmount.c
gio/goutputstream.c
gio/gresolver.c
gio/gvolume.c