Make the error const for g_simple_async_result_set_from_error

This commit is contained in:
Richard Hughes 2009-09-02 19:15:38 +01:00
parent 11477609d1
commit cdd04f36ca
2 changed files with 2 additions and 2 deletions

View File

@ -486,7 +486,7 @@ g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple)
**/
void
g_simple_async_result_set_from_error (GSimpleAsyncResult *simple,
GError *error)
const GError *error)
{
g_return_if_fail (G_IS_SIMPLE_ASYNC_RESULT (simple));
g_return_if_fail (error != NULL);

View File

@ -89,7 +89,7 @@ void g_simple_async_result_run_in_thread (GSimpleAsyncResult
int io_priority,
GCancellable *cancellable);
void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple,
GError *error);
const GError *error);
gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple,
GError **dest);
void g_simple_async_result_set_error (GSimpleAsyncResult *simple,