GNOME Bugzilla – Bug 327837
Provide gnome_clearenv and gnome_util_user_shell equivalent
Last modified: 2011-10-15 21:36:14 UTC
As part of project ridley, we're trying to get rid of gnome-util from libgnome. Therefore, we need a gnome_clearenv equivalent, which could be provided as g_clearenv or g_unsetenv (NULL); Also, a gnome_util_user_shell equivalent should be provided.
We have g_listenv() and g_unsetenv(), so clearenv is just a matter of a simple loop. Is it worth adding a function for that ? How many applications need to clear their environment ?
Oh, and regarding user shell, see bug 309475