diff options
author | George Lebl <jirka@5z.com> | 2003-07-11 00:16:14 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2003-07-11 00:16:14 +0000 |
commit | f417e25efb8b4bda44aa8f36c689f739d7ec4c1b (patch) | |
tree | 1470e50df7bcdcde34913a90259d3205cbf43128 /daemon/misc.c | |
parent | 695c205c441f4b473a61232d8c4cc72cd3628959 (diff) | |
download | gdm-f417e25efb8b4bda44aa8f36c689f739d7ec4c1b.tar.gz |
use the ve_ versions of the environment funcs and use ve_config instead of
Thu Jul 10 17:12:40 2003 George Lebl <jirka@5z.com>
* daemon/auth.c, daemon/errorgui.c, daemon/gdm.c, daemon/misc.c,
daemon/server.c, daemon/slave.c: use the ve_ versions of the
environment funcs and use ve_config instead of gnome_config,
and thus killing the libgnome dependency. The ve-config
functions are faster, I trust them more, saner in API and
definately don't leak any memory to children.
* gui/gdmchooser.c, gui/gdmlogin.c,
gui/greeter/gui/greeter/greeter_canvas_item.c
gui/greeter/greeter_item_capslock.c,
gui/greeter/greeter_parser.c: Use the ve_ versions of
the environment funcs and ve_config instead of gnome_config,
also the use the ve version of the language list function
and hand implement the LC_NUMERIC locale push.
* configure.in, daemon/Makefile.am, gui/Makefile.am,
gui/greeter/Makefile.am: Link against the right ve libs
and don't link to libgnome(ui) / glade where not needed
Diffstat (limited to 'daemon/misc.c')
-rw-r--r-- | daemon/misc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/daemon/misc.c b/daemon/misc.c index d9eb7059..a29095b8 100644 --- a/daemon/misc.c +++ b/daemon/misc.c @@ -237,7 +237,7 @@ gdm_clearenv_no_lang (void) envs = g_list_prepend (envs, g_strdup (env)); } - gnome_clearenv (); + ve_clearenv (); for (li = envs; li != NULL; li = li->next) { putenv (li->data); @@ -262,7 +262,7 @@ gdm_clearenv (void) envs = g_list_prepend (envs, g_strdup (env)); } - gnome_clearenv (); + ve_clearenv (); for (li = envs; li != NULL; li = li->next) { putenv (li->data); @@ -294,7 +294,7 @@ gdm_restoreenv (void) { GList *li; - gnome_clearenv (); + ve_clearenv (); for (li = stored_env; li != NULL; li = li->next) { putenv (g_strdup (li->data)); @@ -583,8 +583,8 @@ gdm_exec_wait (char * const *argv, gboolean no_display, openlog ("gdm", LOG_PID, LOG_DAEMON); if (no_display) { - gnome_unsetenv ("DISPLAY"); - gnome_unsetenv ("XAUTHORITY"); + ve_unsetenv ("DISPLAY"); + ve_unsetenv ("XAUTHORITY"); } execv (argv[0], argv); |