Lines Matching full:error
54 * GSimpleAsyncResult handles #GAsyncReadyCallback<!-- -->s, error
78 * but the result still needs to be created for an error condition, use
81 * directly), and the error can then be propegated through the use of
122 GError *error;
160 if (simple->error)
161 g_error_free (simple->error);
219 * @error: a #GError location.
221 * Creates a #GSimpleAsyncResult from an error condition.
229 GError *error)
238 g_simple_async_result_set_from_error (simple, error);
249 * @code: an error code.
253 * Creates a new #GSimpleAsyncResult with a set error.
340 * @dest: a location to propegate the error to.
342 * Propagates an error from within the simple asynchronous result to
345 * Returns: %TRUE if the error was propegated to @dest. %FALSE otherwise.
355 g_propagate_error (dest, simple->error);
356 simple->error = NULL;
462 * @error: #GError.
468 GError *error)
471 g_return_if_fail (error != NULL);
473 if (simple->error)
474 g_error_free (simple->error);
475 simple->error = g_error_copy (error);
485 GError *error;
490 error = g_error_new_literal (domain, code, message);
493 return error;
500 * @code: an error code.
501 * @format: a formatted error reporting string.
504 * Sets an error within the asynchronous result without a #GError.
518 if (simple->error)
519 g_error_free (simple->error);
520 simple->error = _g_error_new_valist (domain, code, format, args);
528 * @code: an error code.
529 * @format: a formatted error reporting string.
532 * Sets an error within the asynchronous result without a #GError.
746 * @domain: a #GQuark containing the error domain (usually #G_IO_ERROR).
747 * @code: a specific error code.
748 * @format: a formatted error reporting string.
751 * Reports an error in an asynchronous function in an idle function by
752 * directly setting the contents of the #GAsyncResult with the given error
787 * @error: the #GError to report
789 * Reports an error in an idle function. Similar to
797 GError *error)
802 g_return_if_fail (error != NULL);
807 error);