On Wed, Apr 10, 2013 at 7:18 PM, Paul Davis <p...@linuxaudiosystems.com>wrote:

> to be relocatable, your app should *fall back* on -DPKGDATADIR but should
> first try checking for an environment variable and then a path relative to
> the executable.


Or just rely on g_get_system_data_dirs(), that's what I usually do.
https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-system-data-dirs


-- 
Marc-André Lureau
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to