454
454
/* Add the application's dir to the list of sources for data */
455
455
const gchar * basedatadirs = g_getenv("XDG_DATA_DIRS");
456
456
if (basedatadirs == NULL || basedatadirs[0] == '\0') {
459
459
gchar * datadirs = g_strjoin(":", app_dir, basedatadirs, NULL);
460
460
env_handle_add(handle, "XDG_DATA_DIRS", datadirs);