Re: Re[2]: Relative path
- From: Sven Neumann <sven gimp org>
- To: Alexander Chemeris <chemeris mail ru>
- Cc: gtk-list gnome org
- Subject: Re: Re[2]: Relative path
- Date: 23 Aug 2002 15:46:33 +0200
Hi,
Alexander Chemeris <chemeris mail ru> writes:
> Thursday, August 22, 2002, 11:31:57 PM, you wrote:
> > Alexander Chemeris <chemeris mail ru> writes:
> >> Is there system independent way to get relative path from current
> >> directory and full path to the file? If there is no standard way how
> >> you do it? :-)
> > http://developer.gnome.org/doc/API/2.0/glib/glib-miscellaneous-utility-functions.html
> Yes, read this several times. :-)
> There are g_path_is_absolute() and g_path_skip_root() functions, but
> there is no g_path_make_relative() or something like this.
I must admit I haven't understood exactly what you want to do. I'm
pretty sure however that you should be able to find a way by using the
functions I've pointed you at. Did you look at g_build_filename()?
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]