Created attachment 76330 [details] [review] Adds realm_settings_double function. This is needed by upcoming example provider features.
Created attachment 76331 [details] [review] Adds realm_settings_double function. Correct whitespacing.
Comment on attachment 76331 [details] [review] Adds realm_settings_double function. Review of attachment 76331 [details] [review]: ----------------------------------------------------------------- Added line to .gitignore ::: service/realm-settings.c @@ +196,5 @@ > + return def; > + > + val = g_ascii_strtod (string, &end_ptr); > + if (*end_ptr != '\0') { > + g_critical ("Can't parse '%s' as a floating point number", string); Added a clearer message. ::: tests/test-settings.c @@ +8,5 @@ > + * your option) any later version. > + * > + * See the included COPYING file for more information. > + * > + * Author: Stef Walter <stefw@gnome.org> I've put your name/email here.
Thanks for doing the tests.
Thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.