Commit 4619c551 authored by François Grisez's avatar François Grisez
Browse files

Delete the code which modifies the XDG_DATA_DIRS envvar at Linphone starting

parent ebff938b
......@@ -2082,18 +2082,6 @@ int main(int argc, char *argv[]){
/*for pulseaudio:*/
g_setenv("PULSE_PROP_media.role", "phone", TRUE);
/* Add the data directory of the install prefix to XDG_DATA_DIRS
* This environment variable is used by GTK+ to locate the directory
* which stores icon images. */
tmp = g_getenv("XDG_DATA_DIRS");
if(tmp && strlen(tmp) > 0) {
char *xdg_data_dirs = g_strdup_printf("%s:%s", PACKAGE_DATA_DIR, tmp);
g_setenv("XDG_DATA_DIRS", xdg_data_dirs, TRUE);
} else {
if (lang == NULL || lang[0]=='\0'){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment