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 505470 - use g_ascii_dtostr instead of setlocale
use g_ascii_dtostr instead of setlocale
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: plugins
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2007-12-24 19:25 UTC by Christian Persch
Modified: 2008-01-25 19:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.42 KB, patch)
2007-12-24 19:26 UTC, Christian Persch
accepted-commit_now Details | Review

Description Christian Persch 2007-12-24 19:25:47 UTC
in the xsetting manager.
Comment 1 Christian Persch 2007-12-24 19:26:02 UTC
Created attachment 101554 [details] [review]
patch
Comment 2 Christian Persch 2008-01-25 13:42:58 UTC
        * plugins/xsettings/gsd-xsettings-manager.c:
        (xft_settings_set_xresources): Use g_ascii_dtostr instead of
        setlocale. Bug #505470.

Comment 3 Michael Monreal 2008-01-25 19:13:40 UTC
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
Comment 4 Christian Persch 2008-01-25 19:48:40 UTC
Sorry about that. Jens already fixed it.