GNOME Bugzilla – Bug 505470
use g_ascii_dtostr instead of setlocale
Last modified: 2008-01-25 19:48:40 UTC
in the xsetting manager.
Created attachment 101554 [details] [review] patch
* plugins/xsettings/gsd-xsettings-manager.c: (xft_settings_set_xresources): Use g_ascii_dtostr instead of setlocale. Bug #505470.
This has broken the build for me... where is old_locale supposed to be declared? gsd-xsettings-manager.c: In function 'xft_settings_set_xresources': gsd-xsettings-manager.c:481: error: 'old_locale' undeclared (first use in this function) gsd-xsettings-manager.c:481: error: (Each undeclared identifier is reported only once gsd-xsettings-manager.c:481: error: for each function it appears in.) make[3]: *** [libxsettings_la-gsd-xsettings-manager.lo] Error 1 make[3]: Leaving directory `/home/nx/code/svn/gnome/gnome-settings-daemon/plugins/xsettings' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nx/code/svn/gnome/gnome-settings-daemon/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nx/code/svn/gnome/gnome-settings-daemon' make: *** [all] Error 2
Sorry about that. Jens already fixed it.