The function is this: static gboolean xunsetenv(char *varname) { if (unsetenv(varname) != 0) { console_message(_("unsetenv failed!")); return TRUE; } return FALSE; }
It tries to manipulate the return code of unsetenv, but it does not return one; so, what is the right thing to do? The application I'm trying to port is mhwaveedit, a GTK+2 audio editor. Greetings