^^^^ It is wrong. I think the correct solution is: GError *error = NULL;
And with this new error struct the function call seems like this: read_status=g_io_channel_read_to_end(file_desc,file_data,data_length,&error); And error handling lik this: if (error != NULL) { g_error ("%s", error->message); }
I hope this help. Regards Ferenc
Sure it helps !!it works fine, thanks you. but, from where did you find that?
and why use a GError ** can' t work ? though I allocated memory to it. It s more a C problem than GTK I think, but I d like to understand it.
Thanks Axel
_______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
