summaryrefslogtreecommitdiff
path: root/gui/gdmphotosetup.c
diff options
context:
space:
mode:
authorBrian Cameron <Brian.Cameron@sun.com>2005-07-20 17:24:46 +0000
committerBrian Cameron <bcameron@src.gnome.org>2005-07-20 17:24:46 +0000
commit1845776026399dca17be4767f082e53f3df85f0a (patch)
treee0cb90caabaa68a0a435d8de2bb58c11cab00e27 /gui/gdmphotosetup.c
parent853d2d7d18fc07578c3a753a5a7854ee51271e6e (diff)
downloadgdm-1845776026399dca17be4767f082e53f3df85f0a.tar.gz
Moved gdm_common_show_info_msg, gdm_common_msg and gdm_common_query from
2005-07-20 Brian Cameron <Brian.Cameron@sun.com> * gui/Makefile.am, gui/gdmcommon.c, gdmwm.c: Moved gdm_common_show_info_msg, gdm_common_msg and gdm_common_query from gdmcommon.c to gdmwm.c. Now no longer include gdmwm.[ch] in libgdmcommon.a since these are in libgdmwm.a: This is cleaner since these 3 functions reference gdmwm functions. This fixes a link problem on Solaris caused because the Xinerama functions were getting referenced in gdmsetup even though they are unused. * gui/gdmphotosetup.c: Now use chmod instead of g_chmod.
Diffstat (limited to 'gui/gdmphotosetup.c')
-rw-r--r--gui/gdmphotosetup.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gui/gdmphotosetup.c b/gui/gdmphotosetup.c
index ec1cfe4b..14c184b3 100644
--- a/gui/gdmphotosetup.c
+++ b/gui/gdmphotosetup.c
@@ -392,13 +392,9 @@ main (int argc, char *argv[])
gnome_config_set_string ("/gdm/face/picture", "");
gnome_config_sync ();
-#if 0
- /* These can be added after g_chmod becomes available
- * in a stable glib build */
- /* ensure proper permissions */
- g_chmod (cfg_file, 0600);
- g_chmod (photofile, 0644);
-#endif
+ /* Change to g_chmod after glib 2.8 release */
+ chmod (cfg_file, 0600);
+ chmod (photofile, 0644);
g_free (cfg_file);
g_free (photofile);