After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 327837 - Provide gnome_clearenv and gnome_util_user_shell equivalent
Provide gnome_clearenv and gnome_util_user_shell equivalent
Status: RESOLVED WONTFIX
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2006-01-20 11:27 UTC by Christian Neumair
Modified: 2011-10-15 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Neumair 2006-01-20 11:27:29 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.
Comment 1 Matthias Clasen 2006-01-20 16:34:29 UTC
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 ?
Comment 2 Matthias Clasen 2006-01-20 16:48:23 UTC
Oh, and regarding user shell, see bug 309475