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.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

Reply via email to