diff options
author | Brian Cameron <brian.cameron@sun.com> | 2005-12-22 04:50:45 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2005-12-22 04:50:45 +0000 |
commit | 2be57792419c16f8468f5edd06443e53643ce98d (patch) | |
tree | f471a0e95100bd825dba2244d60e7a913817d382 /daemon/errorgui.c | |
parent | c9bf94f2cf5d4d57df907371464a925bddb0cfc6 (diff) | |
download | gdm-2be57792419c16f8468f5edd06443e53643ce98d.tar.gz |
Now use g_ stdio function like g_chmod instead of chmod. Fixes bug
2005-12-22 Brian Cameron <brian.cameron@sun.com>
* daemon/auth.c, daemon/display.c, daemon/errorgui.c,
daemon/filecheck.c, daemon/fstype.c, daemon/gdm-net.c,
daemon/gdm.[ch], daemon/gdmconfig.c, daemon/misc.c,
daemon/server.c, daemon/slave.c, daemon/verify-pam.c,
daemon/xdmcp.c, gui/gdmXnestchooser.c, gui/gdmchooser.c,
gui/gdmcommon.c, gui/gdmlogin.c, gui/gdmphotosetup.c,
gui/gdmsetup.c, gui/gdmuser.c, utils/gdmprefetch.c,
vicious-extensions/ve-config.c, vicious-extensions/ve-gnome.c,
vicious-extensions/ve-misc.[ch], vicious-extensions/ve-nongnome.c:
Now use g_ stdio function like g_chmod instead of chmod.
Fixes bug #310229.
Diffstat (limited to 'daemon/errorgui.c')
-rw-r--r-- | daemon/errorgui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/errorgui.c b/daemon/errorgui.c index b92d3e47..0a5ebc5e 100644 --- a/daemon/errorgui.c +++ b/daemon/errorgui.c @@ -257,7 +257,7 @@ setup_dialog (GdmDisplay *d, const char *name, int closefdexcept, gboolean set_g gchar *gtkrc = gdm_get_value_string (GDM_KEY_GTKRC); if ( ! ve_string_empty (gtkrc) && - access (gtkrc, R_OK) == 0) + g_access (gtkrc, R_OK) == 0) gtk_rc_parse (gtkrc); theme_name = d->theme_name; @@ -269,7 +269,7 @@ setup_dialog (GdmDisplay *d, const char *name, int closefdexcept, gboolean set_g g_free (theme_dir); if ( ! ve_string_empty (theme) && - access (theme, R_OK) == 0) + g_access (theme, R_OK) == 0) gtk_rc_parse (theme); g_free (theme); @@ -338,7 +338,7 @@ gdm_error_box_full (GdmDisplay *d, GtkMessageType type, const char *error, GString *gs = g_string_new (NULL); fp = NULL; - VE_IGNORE_EINTR (r = lstat (details_file, &s)); + VE_IGNORE_EINTR (r = g_lstat (details_file, &s)); if (r == 0) { if (S_ISREG (s.st_mode)) { VE_IGNORE_EINTR (fp = fopen (details_file, "r")); |