Re: Building full path before executing a GNOME binary.



Hema Seetharamaiah <hema seetharamaiah wipro com> writes: 
> Can the install path be got by using g_object_get_property() with
> GNOME_PARAM_GNOME_DATADIR? Using the dir path returned, the full path
> for a GNOME binary could be built?

I'm pretty sure this is just the same as hardcoding datadir/progname
where datadir is the datadir of the app being compiled.

> Or gnome_locate_file()?

That has the same possible security problem as searching the path.

Havoc



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