Re: [gnome-love] At last... I made it...
- From: Murray Cumming <murrayc murrayc com>
- To: Sean Middleditch <elanthis awesomeplay com>
- Cc: gnome-love <gnome-love gnome org>
- Subject: Re: [gnome-love] At last... I made it...
- Date: Tue, 15 Jun 2004 13:10:22 +0200
On Mon, 2004-06-14 at 10:36 -0400, Sean Middleditch wrote:
If for some reason you cannot use Binreloc and need to hard-code the
path (*please* don't do this if not necessary; hard-coded paths are the
devil and make it impossible to relocate your binaries),
It would be misleading not to mention that most GNOME applications do
currently hardcode the path in their build files, and any other method
is probably experimental at the moment. This is no problem if you don't
relocated your binaries - something that most distros don't do.
you'll need to
tell the app where to find the glade file. To do this, add something
like -DDATADIR="${datadir}/@PACKAGE_TARNAME@" to your CFLAGS variable.
Then you'll have the DATADIR macro in your code that points to the
proper directory, so you can find the glade file using DATADIR
"/wallpapoz.glade" in your code.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]