On Mon, Apr 12, 2010 at 4:00 PM, Nader Morshed <morshed.na...@gmail.com> wrote: > Hey, I'm wondering if anyone knows what/where I can find the error code name > for an asynchronous operation being canceled?
http://library.gnome.org/devel/gio/stable/gio-GIOError.html Namely G_IO_ERROR_CANCELLED. -A. Walton >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.na...@gmail.com> > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list