Gio library on Debian Lenny
- From: Richard Shann <richard shann virgin net>
- To: gtk-app-devel-list gnome org
- Subject: Gio library on Debian Lenny
- Date: Fri, 15 May 2009 13:01:23 +0100
Does anyone know if the gio library is working for getting files from
the internet in the latest Debian Lenny distribution, x86?
I have tried the following code:
GError *err = NULL;
GFile * file=g_file_new_for_uri
("http://www.rshann.plus.com/denemo.html");
GFileInputStream *stream = g_file_read(file, NULL, &err);
if (err != NULL)
{
g_warning ("The opening of uri gave %s", err->message);
if(err) g_error_free (err);
err = NULL;
}
But get "Operation not supported message". It works ok with a local file (file:///home/...) should it be
working for http?
Richard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]