gtk_selection_data_get_uris and 'file://' problem



Hi,

I'm using gtk_selection_data_get_uris to have the filename of the files dragged into the mainwindow of my app. The problem is that
the filename begins with file:// and obviously when I open it I get
a no such file or directory error. Is there a Glib function who gives me back the filename without file:// ?

Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]