GCancellable Error Code
- From: Nader Morshed <morshed nader gmail com>
- To: gtk-app-devel-list gnome org
- Subject: GCancellable Error Code
- Date: Mon, 12 Apr 2010 13:00:05 -0700
Hey, I'm wondering if anyone knows what/where I can find the error code name for an asynchronous operation
being canceled? I've looked through the docs/headers but was unable to find the information. This would just
be used for something like the following, where the user is only notified of an error if it was not
themselves who triggered it through a disconnect button:
if ((connection = g_socket_client_connect_to_host_finish(G_SOCKET_CLIENT(client), res, &err)) == NULL)
{
if (err->code != G_ERROR_CANCELED)
//Tell user
}
--
Nader Morshed <morshed nader gmail com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]