Re: Help with first project.
- From: Tom Gilbert <gilbertt tomgilbert freeserve co uk>
- To: gnome-devel-list gnome org
- Subject: Re: Help with first project.
- Date: Fri, 20 Aug 1999 00:12:19 +0000
* Havoc Pennington (hp@redhat.com) wrote:
>
> > We have some nice functions to let you use the standard GNOME
> > directories; look at them in gnome-libs/libgnome/gnome-util.h.
> >
>
> This is wrong if you're looking for stuff that comes with your app. For
> example if you app installs pixmaps to $(prefix)/share/pixmaps, it should
> look under the application's prefix, rather than using
> gnome_pixmap_file(). It might try gnome_pixmap_file() as a backup.
>
> To get the prefix in your program the easiest thing is to add a -D option
> to CFLAGS; look at gnome-libs/libgnome/Makefile.am for examples.
>
> Havoc
This was the tip I needed! Thanks for this, and yes, I'll fall back on
the gnome-util.h functions.
Tom.
--
.-------------------------------------------------------.
.^. | Tom Gilbert, England | tom@tomgilbert.freeserve.co.uk |
/V\ |----------------------| www.tomgilbert.freeserve.co.uk |
// \\ | Sites I recommend: `--------------------------------|
/( )\ | www.freshmeat.net www.enlightenment.org www.gnome.org |
^^-^^ `-------------------------------------------------------'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]