mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
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
This commit is contained in:
@@ -1199,6 +1199,7 @@ GAsyncResultIface
|
||||
GAsyncReadyCallback
|
||||
g_async_result_get_user_data
|
||||
g_async_result_get_source_object
|
||||
g_async_result_legacy_propagate_error
|
||||
<SUBSECTION Standard>
|
||||
G_ASYNC_RESULT
|
||||
G_IS_ASYNC_RESULT
|
||||
|
Reference in New Issue
Block a user