summaryrefslogtreecommitdiff
path: root/gio/gasyncresult.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-04-17 10:38:37 -0400
committerDan Winship <danw@gnome.org>2015-04-04 10:16:52 -0400
commitec9c248d7d5cf6c60e212c7ba4b9e8a0a4f76452 (patch)
treeb33620dfc0ad53b1a5630bc51d63339e9048b2d1 /gio/gasyncresult.c
parentf10b6550ff2ce55d06b92d6dc3e443fc007b2f7a (diff)
downloadglib-ec9c248d7d5cf6c60e212c7ba4b9e8a0a4f76452.tar.gz
gio: deprecate GSimpleAsyncResult
GTask has been around for a long time now, everything in GLib is using it, and the run-in-thread deadlock problems should be fixed now. https://bugzilla.gnome.org/show_bug.cgi?id=661767
Diffstat (limited to 'gio/gasyncresult.c')
-rw-r--r--gio/gasyncresult.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/gasyncresult.c b/gio/gasyncresult.c
index 0c18b0b40..929dbe2d2 100644
--- a/gio/gasyncresult.c
+++ b/gio/gasyncresult.c
@@ -193,6 +193,7 @@ g_async_result_legacy_propagate_error (GAsyncResult *res,
* deprecation warnings in the future.)
*/
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (G_IS_SIMPLE_ASYNC_RESULT (res))
{
return g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res),
@@ -200,6 +201,7 @@ g_async_result_legacy_propagate_error (GAsyncResult *res,
}
else
return FALSE;
+ G_GNUC_END_IGNORE_DEPRECATIONS
}
/**